template <>

class WireServer

Defined at line 1319 of file fidling/gen/sdk/fidl/fuchsia.device.test/fuchsia.device.test/cpp/fidl/fuchsia.device.test/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_device_test::RootDevice>|

and |::fidl::ServerEnd

<

::fuchsia_device_test::RootDevice>|).

Public Methods

void CreateDevice (::fuchsia_device_test::wire::RootDeviceCreateDeviceRequest * request, CreateDeviceCompleter::Sync & completer)

Create a device with the given `name` that is a child of this device.

void WireServer ()

Defined at line 1322 of file fidling/gen/sdk/fidl/fuchsia.device.test/fuchsia.device.test/cpp/fidl/fuchsia.device.test/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 1323 of file fidling/gen/sdk/fidl/fuchsia.device.test/fuchsia.device.test/cpp/fidl/fuchsia.device.test/cpp/wire_messaging.h