ONPOSIX
2.0
|
Single asynchronous operation. More...
Public Types | |
enum | { NONE = 0, READ_BUFFER = 1, READ_VOID = 2, WRITE_BUFFER = 3, WRITE_VOID = 4 } |
Type of scheduled async operation. More... |
Public Attributes | |
enum onposix::PosixDescriptor::job:: { ... } | job_type_ |
Type of scheduled async operation. | |
size_t | size_ |
Size of data to be read/written. | |
void(* | buff_handler_ )(Buffer *b, size_t size) |
Handler in case of read/write operation on a Buffer. | |
Buffer * | buff_buffer_ |
Buffer in case of read/write operation on a Buffer. | |
void(* | void_handler_ )(void *b, size_t size) |
Handler in case of read/write operation on a void*. | |
void * | void_buffer_ |
void* pointer in case of read/write operation on a void* |
Single asynchronous operation.
This data structure contains information about a single pending asynchronous operation.
Definition at line 66 of file PosixDescriptor.hpp.
anonymous enum |
Type of scheduled async operation.
Definition at line 70 of file PosixDescriptor.hpp.
Buffer* buff_buffer_ |
Buffer in case of read/write operation on a Buffer.
Definition at line 90 of file PosixDescriptor.hpp.
void(* buff_handler_)(Buffer *b, size_t size) |
Handler in case of read/write operation on a Buffer.
Definition at line 85 of file PosixDescriptor.hpp.
enum { ... } job_type_ |
Type of scheduled async operation.
size_t size_ |
Size of data to be read/written.
Definition at line 79 of file PosixDescriptor.hpp.
void* void_buffer_ |
void* pointer in case of read/write operation on a void*
Definition at line 101 of file PosixDescriptor.hpp.
void(* void_handler_)(void *b, size_t size) |
Handler in case of read/write operation on a void*.
Definition at line 95 of file PosixDescriptor.hpp.