template <>
class WireAsyncEventHandler
Defined at line 1287 of file fidling/gen/sdk/fidl/fuchsia.lowpan.spinel/fuchsia.lowpan.spinel/cpp/fidl/fuchsia.lowpan.spinel/cpp/wire_messaging.h
Public Methods
void OnReadyForSendFrames (::fidl::WireEvent< ::fuchsia_lowpan_spinel::Device::OnReadyForSendFrames> * event)
Increases the number of additional frames that the Device is currently
ready to receive, as a method of outbound flow-control.
The Device uses this callback to regulate the speed at which
outbound frames are sent to it. This callback will be called
periodically to ensure low-latency frame delivery.
When this callback is invoked with a non-zero value, the device
is indicating that it is ready to receive the specified number
of additional frames.
This callback SHOULD NOT be invoked with a value of zero, and if
a zero value is received via this callback it MUST be ignored.
Frames MUST NOT be sent until this callback is first called
with a non-zero value.
A reasonable usage pattern would be for the device to first
invoke this callback with a value of 4, invoking it again with
a value of 2 after every second received outbound frame.
Inbound flow control is similarly accomplished via `ReadyToReceiveFrames()`.
void OnReceiveFrame (::fidl::WireEvent< ::fuchsia_lowpan_spinel::Device::OnReceiveFrame> * event)
The callback used to pass incoming Spinel frames to the LoWPAN
host stack.
See `ReadyToReceiveFrames()` for flow-control considerations.
void OnError (::fidl::WireEvent< ::fuchsia_lowpan_spinel::Device::OnError> * event)
The callback used to indicate that an error has occurred.
If the resulting error caused the device to automatically close,
this is indicated via the `did_close` argument.
void WireAsyncEventHandler ()
Defined at line 1291 of file fidling/gen/sdk/fidl/fuchsia.lowpan.spinel/fuchsia.lowpan.spinel/cpp/fidl/fuchsia.lowpan.spinel/cpp/wire_messaging.h