template <>
class WireWeakSyncClientImpl
Defined at line 6706 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::WireResult< ::fuchsia_netemul_network::FakeEndpoint::Write> Write (::fidl::VectorView<uint8_t> data)
Writes a frame to the network.
Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.
::fidl::WireResult< ::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`.
Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.