template <>
class WireServer
Defined at line 597 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_camera2::MuteControl>|
and |::fidl::ServerEnd
<
::fuchsia_camera2::MuteControl>|).
Public Methods
void Mute (::fuchsia_camera2::wire::MuteControlMuteRequest * request, MuteCompleter::Sync & completer)
Mutes a camera. This is independent from stopping or closing a stream. A muted
camera will not produce any more images until
unmute is called. You can still connect to streams from a muted camera, but they
will not produce frames until the camera is unmuted.
`device_id` refers to the device_id from a previous OnDeviceAvailable call.
void Unmute (::fuchsia_camera2::wire::MuteControlUnmuteRequest * request, UnmuteCompleter::Sync & completer)
void WireServer ()
Defined at line 600 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/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 601 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/wire_messaging.h