fidl::ServerBindingGroup

Summary

Inheritance

Inherits from: fidl::internal::ServerBindingGroupBase< FidlProtocol, internal::ChannelTransport >

Constructors and Destructors

ServerBindingGroup()
ServerBindingGroup(const ServerBindingGroup &)
ServerBindingGroup(ServerBindingGroup &&)

Public functions

AddBinding(async_dispatcher_t *dispatcher, fidl::ServerEnd< FidlProtocol > server_end, ServerImpl *impl, CloseHandler && close_handler)
void
CloseAll(zx_status_t epitaph_value)
bool
CloseBindings(const ServerImpl *impl, zx_status_t epitaph_value)
bool
CreateHandler(ServerImpl *impl, async_dispatcher_t *dispatcher, CloseHandler && close_handler)
fidl::ProtocolHandler< FidlProtocol >
ForEachBinding(fit::function< void(const Binding &)> visitor)
void
RemoveAll()
bool
RemoveBindings(const ServerImpl *impl)
bool
operator=(const ServerBindingGroup &)=delete
operator=(ServerBindingGroup &&)=delete
set_empty_set_handler(fit::closure empty_set_handler)
void
size() const
size_t

Public functions

AddBinding

void AddBinding(
  async_dispatcher_t *dispatcher,
  fidl::ServerEnd< FidlProtocol > server_end,
  ServerImpl *impl,
  CloseHandler && close_handler
)

CloseAll

bool CloseAll(
  zx_status_t epitaph_value
)

CloseBindings

bool CloseBindings(
  const ServerImpl *impl,
  zx_status_t epitaph_value
)

CreateHandler

fidl::ProtocolHandler< FidlProtocol > CreateHandler(
  ServerImpl *impl,
  async_dispatcher_t *dispatcher,
  CloseHandler && close_handler
)

ForEachBinding

void ForEachBinding(
  fit::function< void(const Binding &)> visitor
)

RemoveAll

bool RemoveAll()

RemoveBindings

bool RemoveBindings(
  const ServerImpl *impl
)

ServerBindingGroup

 ServerBindingGroup()=default

ServerBindingGroup

 ServerBindingGroup(
  const ServerBindingGroup &
)=delete

ServerBindingGroup

 ServerBindingGroup(
  ServerBindingGroup &&
)=delete

operator=

ServerBindingGroup & operator=(
  const ServerBindingGroup &
)=delete

operator=

ServerBindingGroup & operator=(
  ServerBindingGroup &&
)=delete

set_empty_set_handler

void set_empty_set_handler(
  fit::closure empty_set_handler
)

size

size_t size() const