template <>
class WireServer
Defined at line 1249 of file fidling/gen/sdk/fidl/fuchsia.component.runtime/fuchsia.component.runtime/cpp/fidl/fuchsia.component.runtime/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_component_runtime::DirConnectorRouter>|
and |::fidl::ServerEnd
<
::fuchsia_component_runtime::DirConnectorRouter>|).
Public Methods
void Route (::fuchsia_component_runtime::wire::DirConnectorRouterRouteRequest * request, RouteCompleter::Sync & completer)
Attempts to produce a `DirConnector` capability from this
`DirConnectorRouter`.
`request` contains context for this route, and `instance_token`
references the component that the routing operation is being performed
for.
This will return:
- `SUCCESS` if `handle` has been associated with a connector.
- `UNAVAILABLE` if the capability is unavailable, in which case `handle`
will be closed.
- An error, if the operation failed.
void WireServer ()
Defined at line 1252 of file fidling/gen/sdk/fidl/fuchsia.component.runtime/fuchsia.component.runtime/cpp/fidl/fuchsia.component.runtime/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 1253 of file fidling/gen/sdk/fidl/fuchsia.component.runtime/fuchsia.component.runtime/cpp/fidl/fuchsia.component.runtime/cpp/wire_messaging.h