template <>

class Server

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

Public Methods

void ReleasePacket (ReleasePacketRequest & request, ReleasePacketCompleter::Sync & completer)

Releases payload memory associated with a packet previously delivered

via `OnPacketProduced`.

void DiscardAllPackets (DiscardAllPacketsCompleter::Sync & completer)
void DiscardAllPacketsNoReply (DiscardAllPacketsNoReplyCompleter::Sync & completer)
void Server ()

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