template <>

class Server

Defined at line 100 of file fidling/gen/sdk/fidl/fuchsia.device.fs/fuchsia.device.fs/cpp/fidl/fuchsia.device.fs/cpp/natural_messaging.h

Public Methods

void Connect (ConnectRequest & request, ConnectCompleter::Sync & completer)

Forward a server end of a protocol so that it can be connected.

+ request `server` the server end of the protocol to be served. The FIDL protocol that

this speaks is determined out-of-band.

- response This function has no response. The function is one-way to match the pipelining

behaviors of other virtual filesystems.

void Server ()

Defined at line 103 of file fidling/gen/sdk/fidl/fuchsia.device.fs/fuchsia.device.fs/cpp/fidl/fuchsia.device.fs/cpp/natural_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 ~Server ()

Defined at line 104 of file fidling/gen/sdk/fidl/fuchsia.device.fs/fuchsia.device.fs/cpp/fidl/fuchsia.device.fs/cpp/natural_messaging.h