template <>

class WireServer

Defined at line 2045 of file fidling/gen/src/devices/usb/drivers/usb-virtual-bus/tests/fuchsia.hardware.usb.virtualbustest/cpp/fidl/fuchsia.hardware.usb.virtualbustest/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_hardware_usb_virtualbustest::ExpectBusTest>|

and |::fidl::ServerEnd

<

::fuchsia_hardware_usb_virtualbustest::ExpectBusTest>|).

Public Methods

void ExpectControl (::fuchsia_hardware_usb_virtualbustest::wire::ExpectBusTestExpectControlRequest * request, ExpectControlCompleter::Sync & completer)
void ExpectOut (ExpectOutCompleter::Sync & completer)
void ExpectIn (::fuchsia_hardware_usb_virtualbustest::wire::ExpectBusTestExpectInRequest * request, ExpectInCompleter::Sync & completer)
void Sync (SyncCompleter::Sync & completer)

Used to sync, i.e. call `Sync()` after `ExpectControl()` to

ensure that `ExpectControl()` has arrived before calling

`Control()`.

void Connect (::fuchsia_hardware_usb_virtualbustest::wire::ExpectBusTestConnectRequest * request, ConnectCompleter::Sync & completer)
void WireServer ()

Defined at line 2048 of file fidling/gen/src/devices/usb/drivers/usb-virtual-bus/tests/fuchsia.hardware.usb.virtualbustest/cpp/fidl/fuchsia.hardware.usb.virtualbustest/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 2049 of file fidling/gen/src/devices/usb/drivers/usb-virtual-bus/tests/fuchsia.hardware.usb.virtualbustest/cpp/fidl/fuchsia.hardware.usb.virtualbustest/cpp/wire_messaging.h