template <>

class WireServer

Defined at line 1314 of file fidling/gen/sdk/fidl/fuchsia.logger/fuchsia.logger/cpp/fidl/fuchsia.logger/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_logger::LogListenerSafe>|

and |::fidl::ServerEnd

<

::fuchsia_logger::LogListenerSafe>|).

Public Methods

void Log (::fuchsia_logger::wire::LogListenerSafeLogRequest * 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 (::fuchsia_logger::wire::LogListenerSafeLogManyRequest * 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 WireServer ()

Defined at line 1317 of file fidling/gen/sdk/fidl/fuchsia.logger/fuchsia.logger/cpp/fidl/fuchsia.logger/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 1318 of file fidling/gen/sdk/fidl/fuchsia.logger/fuchsia.logger/cpp/fidl/fuchsia.logger/cpp/wire_messaging.h