template <typename Protocol>

class ServerBindingRef

Defined at line 175 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/channel.h

Forward declarations.

Public Methods

void Close (zx_status_t epitaph)

Triggers an asynchronous unbind operation. Eventually, the epitaph will be sent over the

channel which will be subsequently closed. If specified, |on_unbound| will be invoked giving

the unbind reason as an argument.

This may be called from any thread.

Defined at line 196 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/channel.h

template <typename ServerImpl>
void AsImpl (fit::function<void (const ServerImpl *)> impl_handler)

Retrieve the implementation used by this |ServerBindingRef| to process incoming messages, and

get exclusive const access to it before passing it to a lambda for further introspection.

Defined at line 205 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/channel.h

void ServerBindingRef<Protocol> (internal::ServerBindingRefBase && base)

Defined at line 213 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/channel.h