template <>

class WireWeakAsyncBufferClientImpl

Defined at line 3548 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/cpp/fidl/fuchsia.net.routes/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireBufferThenable< ::fuchsia_net_routes::State::Resolve> Resolve (::fuchsia_net::wire::IpAddress destination)

Resolves the route to a destination.

+ request `destination` the IP address to resolve a route to. If the

unspecified address (all zeroes) is provided, the default route will

be returned. The variant of `destination` determines variant of

[`fuchsia.net/IpAddress`] fields in the resolved route.

- response `result` contains the resolved route to `destination`.

* error `ZX_ERR_ADDRESS_UNREACHABLE` if `destination` can't be resolved.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_net_routes::State::Resolve2> Resolve2 (::fuchsia_net::wire::IpAddress destination, ::fuchsia_net_routes::wire::ResolveOptions options)

Resolves the route to a destination.

+ request `destination` the IP address to resolve a route to. If the

unspecified address (all zeroes) is provided, the default route will

be returned. The variant of `destination` determines variant of

[`fuchsia.net/IpAddress`] fields in the resolved route.

+ request `options` contains optional information used for the route resolution.

- response `result` contains the resolved route to `destination`.

* error `ADDRESS_UNREACHABLE` if `destination` can't be resolved.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_net_routes::State::GetRouteTableName> GetRouteTableName (uint32_t table_id)

Gets the route table name by its ID.

+ request `table_id` the ID of the route table in question.

- response `table_name` the name of the route table, if the route table

does not have a name, an empty string is returned.

* error `NO_TABLE` if the route table does not exist.

Caller provides the backing storage for FIDL message.