template <>

class WireServer

Defined at line 947 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::Device>|

and |::fidl::ServerEnd

<

::fuchsia_device_test::Device>|).

Public Methods

void RunTests (RunTestsCompleter::Sync & completer)

Execute the tests for this device. Returns the status from the test. If

used as part of the Device protocol then Test output will be streamed to

the socket set by SetOutputSocket().

void SetOutputSocket (::fuchsia_device_test::wire::DeviceSetOutputSocketRequest * request, SetOutputSocketCompleter::Sync & completer)

Set a socket to stream test output to.

void SetChannel (::fuchsia_device_test::wire::DeviceSetChannelRequest * request, SetChannelCompleter::Sync & completer)

Set a channel for the test to use in a test-specific manner.

void Destroy (DestroyCompleter::Sync & completer)

Unload this device.

void WireServer ()

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