template <>

class WireServer

Defined at line 888 of file fidling/gen/sdk/fidl/fuchsia.ldsvc/fuchsia.ldsvc/cpp/fidl/fuchsia.ldsvc/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_ldsvc::Loader>|

and |::fidl::ServerEnd

<

::fuchsia_ldsvc::Loader>|).

Public Methods

void Done (DoneCompleter::Sync & completer)

Cleanly shutdown the connection to the Loader service.

void LoadObject (::fuchsia_ldsvc::wire::LoaderLoadObjectRequest * request, LoadObjectCompleter::Sync & completer)

The dynamic linker sends `object_name` and gets back a VMO

handle containing the file.

void Config (::fuchsia_ldsvc::wire::LoaderConfigRequest * request, ConfigCompleter::Sync & completer)

The dynamic linker sends a `config` identifying its load

configuration. This is intended to affect how later

`LoadObject` requests decide what particular implementation

file to supply for a given name.

void Clone (::fuchsia_ldsvc::wire::LoaderCloneRequest * request, CloneCompleter::Sync & completer)

Obtain a new loader service connection.

void WireServer ()

Defined at line 891 of file fidling/gen/sdk/fidl/fuchsia.ldsvc/fuchsia.ldsvc/cpp/fidl/fuchsia.ldsvc/cpp/wire_messaging.h

Handler bind_handler (async_dispatcher_t * dispatcher)

|bind_handler| returns a handler that binds incoming connections to this

server implementation.

The returned handler borrows the server instance.

The server must outlive the provided |dispatcher|. Only after

the dispatcher is shutdown will it be safe to destroy the servers.

The server should not be moved.

void ~WireServer ()

Defined at line 892 of file fidling/gen/sdk/fidl/fuchsia.ldsvc/fuchsia.ldsvc/cpp/fidl/fuchsia.ldsvc/cpp/wire_messaging.h