class LoaderServiceBase
Defined at line 30 of file ../../src/lib/loader_service/loader_service.h
Pure virtual base class for a fuchsia.ldsvc.Loader FIDL server. See concrete LoaderService
implementation below, which should fit most use cases, or subclass to customize the behavior of
LoadObjectImpl for your use case.
Connections to the loader service stay alive as long as the client keeps the connection open (and
other obvious things, like the async dispatcher is not shutdown and the hosting process is
alive), even if the creator of the service drops any copies of this object.
Public Methods
void ~LoaderServiceBase ()
Defined at line 20 of file ../../src/lib/loader_service/loader_service.cc
void Bind (fidl::ServerEnd<fuchsia_ldsvc::Loader> channel)
Bind and Connect create a new connection to the loader service. Connect is identical to
Bind but creates the channel for the caller.
Defined at line 35 of file ../../src/lib/loader_service/loader_service.cc
zx::result<fidl::ClientEnd<fuchsia_ldsvc::Loader>> Connect ()
Defined at line 29 of file ../../src/lib/loader_service/loader_service.cc
Protected Methods
void LoaderServiceBase (async_dispatcher_t * dispatcher, std::string name)
Defined at line 40 of file ../../src/lib/loader_service/loader_service.h
Friends
class LoaderConnection