template <>

class WireServer

Defined at line 389 of file fidling/gen/sdk/fidl/fuchsia.hardware.camera/fuchsia.hardware.camera/cpp/fidl/fuchsia.hardware.camera/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_hardware_camera::Device>|

and |::fidl::ServerEnd

<

::fuchsia_hardware_camera::Device>|).

Public Methods

void GetChannel (::fuchsia_hardware_camera::wire::DeviceGetChannelRequest * request, GetChannelCompleter::Sync & completer)

Note: this method obtains a channel to the capture device which

communicates using a non-simple fidl interface. Once the

system has been updated to support normal fidl protocols, this method

can be replaced with the protocol itself.

Additionally, while the camera stack is migrating from camera to

camera2, two methods are available, corresponding to the two

versions of the protocol.

void GetChannel2 (::fuchsia_hardware_camera::wire::DeviceGetChannel2Request * request, GetChannel2Completer::Sync & completer)
void GetDebugChannel (::fuchsia_hardware_camera::wire::DeviceGetDebugChannelRequest * request, GetDebugChannelCompleter::Sync & completer)
void WireServer ()

Defined at line 392 of file fidling/gen/sdk/fidl/fuchsia.hardware.camera/fuchsia.hardware.camera/cpp/fidl/fuchsia.hardware.camera/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 393 of file fidling/gen/sdk/fidl/fuchsia.hardware.camera/fuchsia.hardware.camera/cpp/fidl/fuchsia.hardware.camera/cpp/wire_messaging.h