template <>
class WireWeakAsyncClientImpl
Defined at line 3812 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_messaging.h
Public Methods
::fidl::internal::WireThenable< ::fuchsia_net_tun::Port::GetState> GetState ()
Gets the port internal state.
- response `state` a snapshot of the port's internal state.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_net_tun::Port::WatchState> WatchState ()
Observes changes to internal state.
The first call always returns the current internal state, subsequent
calls block until the internal state differs from the last one returned
from a `WatchState` call.
`WatchState` does not provide full history of internal state changes. It
is possible that intermediary internal state changes are missed in
between `WatchState` calls.
- response `state` the latest observed port internal state.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_net_tun::Port::SetOnline> SetOnline (bool online)
Sets the port's online status.
The online status is visible through
[`fuchsia.hardware.network/Port.GetStatus`]. Once `SetOnline` returns,
the status reported through `GetStatus` is guaranteed to be the one
passed to `SetOnline`.
+ request `online` desired port online state.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.