template <>
class NaturalSyncClientImpl
Defined at line 572 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_messaging.h
Public Methods
::fidl::Result< ::fuchsia_netemul_network::FakeEndpoint::Write> Write (const ::fidl::Request< ::fuchsia_netemul_network::FakeEndpoint::Write> & request)
Writes a frame to the network.
::fidl::Result< ::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`.