template <typename Protocol>

class ServerBindingRef

Defined at line 20 of file ../../sdk/lib/fidl_driver/include/lib/fidl_driver/cpp/server.h

This class manages a server connection over an fdf channel and its binding to

an |fdf_dispatcher_t*|, which may be multi-threaded. See the detailed

documentation on the |BindServer| APIs.

Public Methods

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

Defined at line 37 of file ../../sdk/lib/fidl_driver/include/lib/fidl_driver/cpp/server.h

void Close (zx_status_t epitaph)

If the |ServerBindingRef| is bound, tears down the binding and starts closing the server

connection with |epitaph|. If unbound does nothing.

This may be called from any thread.

Defined at line 44 of file ../../sdk/lib/fidl_driver/include/lib/fidl_driver/cpp/server.h