template <>

class Server

Defined at line 1525 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 1528 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/cpp/fidl/fuchsia.media.sessions2/cpp/natural_messaging.h

void SessionUpdated (SessionUpdatedRequest & request, SessionUpdatedCompleter::Sync & completer)

Called by the registry service when a session is updated. On first connection,

this will be called as many times as needed to communicate the state of the

world.

`SessionsWatcher` must reply to acknowledge receipt of the session info delta.

Delinquent watchers who do not reply will eventually be disconnected.

void SessionRemoved (SessionRemovedRequest & request, SessionRemovedCompleter::Sync & completer)

Called by the registry service when a session is removed from the registered

collection.

`SessionsWatcher` must reply to acknlowledge receipt of the session removal.

Delinquent watchers who do not reply will eventually be disconnected.

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