template <>

class Server

Defined at line 1013 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/natural_messaging.h

Public Methods

void Server ()

Defined at line 1016 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/natural_messaging.h

void WatchStatus (WatchStatusCompleter::Sync & completer)

`WatchStatus` blocks until the port's status has changed.

The first call to `WatchStatus` returns immediately with the current

port status, subsequent calls complete when the port status differs from

the last one that was returned through this `StatusWatcher`.

If `StatusWatcher` was created with a buffer value larger than 1,

`WatchStatus` may return a queued status change, depending on how many

status changed happened since the last call to `WatchStatus`.

- response `device_status` the most recent port status.

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 1017 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/natural_messaging.h