fidl::InterfaceHandle

Summary

Constructors and Destructors

InterfaceHandle()
InterfaceHandle(zx::channel channel)
InterfaceHandle(const InterfaceHandle & other)
InterfaceHandle(InterfaceHandle && other)
InterfaceHandle(std::nullptr_t)
InterfaceHandle(InterfacePtrType && ptr)

Public functions

Bind()
BindSync()
SyncInterfacePtr
Encode(Encoder *encoder, size_t offset, cpp17::optional< HandleInformation > maybe_handle_info)
void
NewRequest()
InterfaceRequest< Interface >
TakeChannel()
channel() const
const zx::channel &
is_valid() const
bool
operator bool() const
operator=(const InterfaceHandle & other)=delete
operator=(InterfaceHandle && other)
set_channel(zx::channel channel)
void

Public static functions

Decode(Decoder *decoder, InterfaceHandle< Interface > *value, size_t offset)
void

Public functions

Bind

InterfacePtr Bind()

BindSync

SyncInterfacePtr BindSync()

Encode

void Encode(
  Encoder *encoder,
  size_t offset,
  cpp17::optional< HandleInformation > maybe_handle_info
)

InterfaceHandle

 InterfaceHandle()=default

InterfaceHandle

 InterfaceHandle(
  zx::channel channel
)

InterfaceHandle

 InterfaceHandle(
  const InterfaceHandle & other
)=delete

InterfaceHandle

 InterfaceHandle(
  InterfaceHandle && other
)

InterfaceHandle

 InterfaceHandle(
  std::nullptr_t
)

InterfaceHandle

 InterfaceHandle(
  InterfacePtrType && ptr
)

NewRequest

InterfaceRequest< Interface > NewRequest()

TakeChannel

zx::channel TakeChannel()

channel

const zx::channel & channel() const 

is_valid

bool is_valid() const 

operator bool

 operator bool() const 

operator=

InterfaceHandle & operator=(
  const InterfaceHandle & other
)=delete

operator=

InterfaceHandle & operator=(
  InterfaceHandle && other
)

set_channel

void set_channel(
  zx::channel channel
)

Public static functions

Decode

void Decode(
  Decoder *decoder,
  InterfaceHandle< Interface > *value,
  size_t offset
)