template <>

class WireWeakAsyncBufferClientImpl

Defined at line 6683 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireBufferThenable< ::fuchsia_netemul_network::FakeEndpoint::Write> Write (::fidl::VectorView<uint8_t> data)

Writes a frame to the network.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_netemul_network::FakeEndpoint::Read> Read ()

Reads a single frame from the network.

Blocks until new data is available to be read. FakeEndpoint will keep a limited amount of

frames to be read, dropping the oldest ones if the data is not fetched fast enough. The

number of dropped frames since the last call to `Read` is returned in `dropped_frames`.

Issuing a second `Read` request when the first one is still pending will cause the channel

to be closed with `ZX_ERR_BAD_STATE`.

Caller provides the backing storage for FIDL message.