template <>
class Server
Defined at line 529 of file fidling/gen/sdk/fidl/fuchsia.logger/fuchsia.logger/cpp/fidl/fuchsia.logger/cpp/natural_messaging.h
Public Methods
void Log (LogRequest & request, LogCompleter::Sync & completer)
Called for single messages.
The return value is used for flow control, and implementers should acknowledge receipt of
each message in order to continue receiving future messages.
void LogMany (LogManyRequest & request, LogManyCompleter::Sync & completer)
Called when serving cached logs.
Max logs size per call is `MAX_LOG_MANY_SIZE_BYTES` bytes.
The return value is used for flow control, and implementers should acknowledge receipt of
each batch in order to continue receiving future messages.
void Done (DoneCompleter::Sync & completer)
Called when this listener was passed to `DumpLogsSafe()` and all cached logs have been sent.
void Server ()
Defined at line 532 of file fidling/gen/sdk/fidl/fuchsia.logger/fuchsia.logger/cpp/fidl/fuchsia.logger/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 533 of file fidling/gen/sdk/fidl/fuchsia.logger/fuchsia.logger/cpp/fidl/fuchsia.logger/cpp/natural_messaging.h