zx::channel
Summary
Inheritance
Inherits from:
zx::object< channel >
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 attributes
TYPE
constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_CHANNEL
Public functions
channel
constexpr channel()=default
channel
channel(
zx_handle_t value
)
channel
channel(
handle && h
)
channel
channel(
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
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-14 UTC."],[],[]]