template <>

class Server

Defined at line 107 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/cpp/fidl/fuchsia.media.sessions2/cpp/natural_messaging.h

Public Methods

void Server ()

Defined at line 110 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/cpp/fidl/fuchsia.media.sessions2/cpp/natural_messaging.h

void WatchSessions (WatchSessionsRequest & request, WatchSessionsCompleter::Sync & completer)

Connects a session watcher configured with the given options.

void ConnectToSession (ConnectToSessionRequest & request, ConnectToSessionCompleter::Sync & completer)

Connects to a `SessionControl` for `session_id` if present. Drops the

given channel otherwise.

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 111 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/cpp/fidl/fuchsia.media.sessions2/cpp/natural_messaging.h