template <>
class WireServer
Defined at line 211 of file fidling/gen/sdk/fidl/fuchsia.device.fs/fuchsia.device.fs/cpp/fidl/fuchsia.device.fs/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_device_fs::Connector>|
and |::fidl::ServerEnd
<
::fuchsia_device_fs::Connector>|).
Public Methods
void Connect (::fuchsia_device_fs::wire::ConnectorConnectRequest * 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 WireServer ()
Defined at line 214 of file fidling/gen/sdk/fidl/fuchsia.device.fs/fuchsia.device.fs/cpp/fidl/fuchsia.device.fs/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 215 of file fidling/gen/sdk/fidl/fuchsia.device.fs/fuchsia.device.fs/cpp/fidl/fuchsia.device.fs/cpp/wire_messaging.h