zx::channel

Summary

Inheritance

Inherits from: zx::object< channel >

Constructors and Destructors

channel()
channel(zx_handle_t value)
channel(handle && h)
channel(channel && other)

Public static attributes

TYPE = ZX_OBJ_TYPE_CHANNEL
constexpr zx_obj_type_t

Public functions

call(uint32_t flags, zx::time deadline, const zx_channel_call_args_t *args, uint32_t *actual_bytes, uint32_t *actual_handles)
zx_status_t
call_etc(uint32_t flags, zx::time deadline, zx_channel_call_etc_args_t *args, uint32_t *actual_bytes, uint32_t *actual_handles)
zx_status_t
operator=(channel && other)
read(uint32_t flags, void *bytes, zx_handle_t *handles, uint32_t num_bytes, uint32_t num_handles, uint32_t *actual_bytes, uint32_t *actual_handles)
zx_status_t
read_etc(uint32_t flags, void *bytes, zx_handle_info_t *handles, uint32_t num_bytes, uint32_t num_handles, uint32_t *actual_bytes, uint32_t *actual_handles)
zx_status_t
write(uint32_t flags, const void *bytes, uint32_t num_bytes, const zx_handle_t *handles, uint32_t num_handles)
zx_status_t
write_etc(uint32_t flags, const void *bytes, uint32_t num_bytes, zx_handle_disposition_t *handles, uint32_t num_handles)
zx_status_t

Public static functions

create(uint32_t flags, channel *endpoint0, channel *endpoint1)
zx_status_t

Public static attributes

TYPE

constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_CHANNEL

Public functions

call

zx_status_t call(
  uint32_t flags,
  zx::time deadline,
  const zx_channel_call_args_t *args,
  uint32_t *actual_bytes,
  uint32_t *actual_handles
)

call_etc

zx_status_t call_etc(
  uint32_t flags,
  zx::time deadline,
  zx_channel_call_etc_args_t *args,
  uint32_t *actual_bytes,
  uint32_t *actual_handles
)

channel

constexpr channel()=default

channel

 channel(
  zx_handle_t value
)

channel

 channel(
  handle && h
)

channel

 channel(
  channel && other
)

operator=

channel & operator=(
  channel && other
)

read

zx_status_t read(
  uint32_t flags,
  void *bytes,
  zx_handle_t *handles,
  uint32_t num_bytes,
  uint32_t num_handles,
  uint32_t *actual_bytes,
  uint32_t *actual_handles
)

read_etc

zx_status_t read_etc(
  uint32_t flags,
  void *bytes,
  zx_handle_info_t *handles,
  uint32_t num_bytes,
  uint32_t num_handles,
  uint32_t *actual_bytes,
  uint32_t *actual_handles
)

write

zx_status_t write(
  uint32_t flags,
  const void *bytes,
  uint32_t num_bytes,
  const zx_handle_t *handles,
  uint32_t num_handles
)

write_etc

zx_status_t write_etc(
  uint32_t flags,
  const void *bytes,
  uint32_t num_bytes,
  zx_handle_disposition_t *handles,
  uint32_t num_handles
)

Public static functions

create

zx_status_t create(
  uint32_t flags,
  channel *endpoint0,
  channel *endpoint1
)