template <>
class WireServer
Defined at line 1714 of file fidling/gen/src/connectivity/network/testing/netemul/sync-manager/fidl/sync/cpp/fidl/fuchsia.netemul.sync/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_netemul_sync::SyncManager>|
and |::fidl::ServerEnd
<
::fuchsia_netemul_sync::SyncManager>|).
Public Methods
void BusSubscribe (::fuchsia_netemul_sync::wire::SyncManagerBusSubscribeRequest * request, BusSubscribeCompleter::Sync & completer)
Subscribes to bus 'busName' with a given client name.
Duplicate client names are disallowed and will cause the request to return unfulfilled.
void WaitForBarrierThreshold (::fuchsia_netemul_sync::wire::SyncManagerWaitForBarrierThresholdRequest * request, WaitForBarrierThresholdCompleter::Sync & completer)
Waits on a named counter barrier with name `barrierName`.
Functon will return true if the number of waits pending on the barrier matches or exceeds
`threshold` before `timeout` (nsec) expires.
Use `timeout`
<
= 0 for indefinite wait.
void WireServer ()
Defined at line 1717 of file fidling/gen/src/connectivity/network/testing/netemul/sync-manager/fidl/sync/cpp/fidl/fuchsia.netemul.sync/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 1718 of file fidling/gen/src/connectivity/network/testing/netemul/sync-manager/fidl/sync/cpp/fidl/fuchsia.netemul.sync/cpp/wire_messaging.h