template <>

class WireSyncClientImpl

Defined at line 720 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces.admin/fuchsia.net.interfaces.admin/cpp/fidl/fuchsia.net.interfaces.admin/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_net_interfaces_admin::AddressStateProvider>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_net_interfaces_admin::AddressStateProvider::UpdateAddressProperties> UpdateAddressProperties (::fuchsia_net_interfaces_admin::wire::AddressProperties address_properties)

Push an update when the address properties change.

The client pushes updates on address properties changes, such as the

address becoming deprecated, or the preferred and valid lifetimes being

updated as a result of extending the address' lifetime. The server is

expected to cache address properties.

If `address_properties` contains invalid property values, the address is

removed and [`AddressRemovalReason.INVALID_PROPERTIES`] is issued.

+ request `address_properties` the updated properties of the address.

Allocates 96 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_net_interfaces_admin::AddressStateProvider::WatchAddressAssignmentState> WatchAddressAssignmentState ()

Hanging get for address assignment state.

The server does not keep a queue of assignment states, it returns the

latest state if it differs from the last one observed.

The first call will always immediately return the current assignment

state. Subsequent calls will block until the returned value differs

from the last observed value.

It is invalid to call this method while a previous call is pending.

Doing so will cause the server end of the protocol to be closed.

- response `assignment_state` the assignment state of the address.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus Detach ()

Detaches the address' lifetime from the client end of the protocol.

The client end of the protocol can be closed immediately after

calling this method, and the address will not be removed.

Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus Remove ()

Removes the address.

The server end of the protocol is closed after address removal has

completed, and the `USER_REMOVED` `OnAddressRemoved` event is sent.

Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.