template <>

class Server

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

Public Methods

void ExpectControl (ExpectControlRequest & request, ExpectControlCompleter::Sync & completer)
void ExpectOut (ExpectOutCompleter::Sync & completer)
void ExpectIn (ExpectInRequest & request, ExpectInCompleter::Sync & completer)
void Server ()

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

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 (ConnectRequest & request, ConnectCompleter::Sync & completer)
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 ~Server ()

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