template <>
class WireServer
Defined at line 2728 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_audio_device::Registry>|
and |::fidl::ServerEnd
<
::fuchsia_audio_device::Registry>|).
Public Methods
void WatchDevicesAdded (WatchDevicesAddedCompleter::Sync & completer)
Register for notification when one or more devices are added.
The `devices` vector will always contain at least one `Info` entry.
void WatchDeviceRemoved (WatchDeviceRemovedCompleter::Sync & completer)
Register for notification when an (active, added) device is removed.
Because the method only notifies of one removal, upon completion it
should immediately be re-called, in case other removals have occurred.
Calls to this method will pend until the removal of a device that was
included in a previous `WatchDevicesAdded` response.
void CreateObserver (::fuchsia_audio_device::wire::RegistryCreateObserverRequest * request, CreateObserverCompleter::Sync & completer)
Request an `Observer` for the specified device.
void WireServer ()
Defined at line 2731 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/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 2732 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_messaging.h