class DeviceServer

Defined at line 25 of file ../../src/devices/lib/fidl/device_server.h

Public Methods

void DeviceServer (DeviceInterface & device, async_dispatcher_t * dispatcher)

`device` must outlive `DeviceServer`.

Defined at line 16 of file ../../src/devices/lib/fidl/device_server.cc

void ServeDeviceFidl (zx::channel channel)

Defined at line 36 of file ../../src/devices/lib/fidl/device_server.cc

void CloseAllConnections (fit::callback<void ()> callback)

Asynchronously close all connections and call `callback` when all connections have completed

their teardown. Must not be called with `callback != nullptr` while a previous `callback` is

pending.

Defined at line 19 of file ../../src/devices/lib/fidl/device_server.cc