#include <eventhandler_fuchsia.h>
Definition at line 30 of file eventhandler_fuchsia.h.
◆ IOHandle()
dart::bin::IOHandle::IOHandle |
( |
intptr_t |
fd | ) |
|
|
inlineexplicit |
Definition at line 32 of file eventhandler_fuchsia.h.
34 mutex_(),
35 write_events_enabled_(true),
36 read_events_enabled_(true),
37 close_events_enabled_(true),
39 handle_(ZX_HANDLE_INVALID),
40 wait_key_(0),
41 fdio_(fdio_unsafe_fd_to_io(
fd)) {}
◆ Accept()
intptr_t dart::bin::IOHandle::Accept |
( |
struct sockaddr * |
addr, |
|
|
socklen_t * |
addrlen |
|
) |
| |
◆ AsyncWait()
bool dart::bin::IOHandle::AsyncWait |
( |
zx_handle_t |
port, |
|
|
uint32_t |
events, |
|
|
uint64_t |
key |
|
) |
| |
◆ AvailableBytes()
intptr_t dart::bin::IOHandle::AvailableBytes |
( |
| ) |
|
◆ CancelWait()
void dart::bin::IOHandle::CancelWait |
( |
zx_handle_t |
port, |
|
|
uint64_t |
key |
|
) |
| |
◆ Close()
void dart::bin::IOHandle::Close |
( |
| ) |
|
◆ EpollEventsToMask()
static intptr_t dart::bin::IOHandle::EpollEventsToMask |
( |
intptr_t |
events | ) |
|
|
static |
◆ fd()
intptr_t dart::bin::IOHandle::fd |
( |
| ) |
const |
|
inline |
◆ MaskToEpollEvents()
uint32_t dart::bin::IOHandle::MaskToEpollEvents |
( |
intptr_t |
mask | ) |
|
◆ Read()
intptr_t dart::bin::IOHandle::Read |
( |
void * |
buffer, |
|
|
intptr_t |
num_bytes |
|
) |
| |
◆ ToggleEvents()
intptr_t dart::bin::IOHandle::ToggleEvents |
( |
intptr_t |
event_mask | ) |
|
◆ WaitEnd()
uint32_t dart::bin::IOHandle::WaitEnd |
( |
zx_signals_t |
observed | ) |
|
◆ Write()
intptr_t dart::bin::IOHandle::Write |
( |
const void * |
buffer, |
|
|
intptr_t |
num_bytes |
|
) |
| |
◆ ReferenceCounted< IOHandle >
The documentation for this class was generated from the following file: