template <>
class Server
Defined at line 627 of file fidling/gen/sdk/fidl/fuchsia.component.runtime/fuchsia.component.runtime/cpp/fidl/fuchsia.component.runtime/cpp/natural_messaging.h
Public Methods
void Route (RouteRequest & 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 Server ()
Defined at line 630 of file fidling/gen/sdk/fidl/fuchsia.component.runtime/fuchsia.component.runtime/cpp/fidl/fuchsia.component.runtime/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 631 of file fidling/gen/sdk/fidl/fuchsia.component.runtime/fuchsia.component.runtime/cpp/fidl/fuchsia.component.runtime/cpp/natural_messaging.h