class CountersConnector

Defined at line 5941 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

Protocol for connecting to [`Counters`] on a LoWPAN

interface.

Public Members

static const char[] Name_

Public Methods

void ~CountersConnector ()
void Connect (::std::string name, ::fidl::InterfaceRequest< ::fuchsia::lowpan::device::Counters> server_end)

Connects to the [`DeviceCounters`] protocol on the

named LoWPAN interface.

The name of the interface can be learned by calling

[`fuchsia.lowpan/Lookup.GetDevices].

If there is an error in processing this request

the given channel is closed and an epitaph code used

to describe the reason for the failure:

* `ZX_ERR_INVALID_ARGUMENT`: The given interface name

was not formatted correctly or otherwise invalid.

* `ZX_ERR_NOT_FOUND`: No interface was found with the

given name.

* `ZX_ERR_NOT_SUPPORTED`: The interface exists but

does not support this protocol.