template <>
class Server
Defined at line 306 of file fidling/gen/sdk/fidl/fuchsia.logger/fuchsia.logger/cpp/fidl/fuchsia.logger/cpp/natural_messaging.h
Public Methods
void Server ()
Defined at line 309 of file fidling/gen/sdk/fidl/fuchsia.logger/fuchsia.logger/cpp/fidl/fuchsia.logger/cpp/natural_messaging.h
void WaitForInterestChange (WaitForInterestChangeCompleter::Sync & completer)
LogSink implementers will return to this hanging-get whenever the scope of
their interest changes. Clients are expected to emit messages based on
the registered Interest. In the event that an empty interest is
conveyed, clients should emit messages based on their default
e.g. compile time configuration. Each client may only poll this once at a time.
Invoking WaitForInterestChange a second time before the first call returns will
result in an error being returned.
void ConnectStructured (ConnectStructuredRequest & request, ConnectStructuredCompleter::Sync & completer)
Send this socket to be drained, using the structured logs format.
See [Encoding structured records](https://fuchsia.dev/fuchsia-src/reference/platform-spec/diagnostics/logs-encoding)
for what is expected to be received over the socket.
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 310 of file fidling/gen/sdk/fidl/fuchsia.logger/fuchsia.logger/cpp/fidl/fuchsia.logger/cpp/natural_messaging.h