fdf::Protocol

Summary

Inheritance

Inherits from: fdf_token_t

Constructors and Destructors

Protocol(Handler handler)
Protocol(const Protocol &)
Protocol(Protocol &&)
~Protocol()

Public types

Handler using
fit::function< void(fdf_dispatcher_t *dispatcher, fdf::Protocol *protocol, zx_status_t status, fdf::Channel channel)>

Public functions

Register(zx::channel token, fdf_dispatcher_t *dispatcher)
zx_status_t
is_pending()
bool
operator=(const Protocol &)=delete
operator=(Protocol &&)=delete

Public types

Handler

fit::function< void(fdf_dispatcher_t *dispatcher, fdf::Protocol *protocol, zx_status_t status, fdf::Channel channel)> Handler

Public functions

Protocol

 Protocol(
  Handler handler
)

Protocol

 Protocol(
  const Protocol &
)=delete

Protocol

 Protocol(
  Protocol &&
)=delete

Register

zx_status_t Register(
  zx::channel token,
  fdf_dispatcher_t *dispatcher
)

is_pending

bool is_pending()

operator=

Protocol & operator=(
  const Protocol &
)=delete

operator=

Protocol & operator=(
  Protocol &&
)=delete

~Protocol

 ~Protocol()