template <>

class WireServer

Defined at line 719 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::LogSink>|

and |::fidl::ServerEnd

<

::fuchsia_logger::LogSink>|).

Public Methods

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 (::fuchsia_logger::wire::LogSinkConnectStructuredRequest * 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.

void WireServer ()

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