|
| aio_fstream (aio_handle *handle) |
|
| aio_fstream (aio_handle *handle, int fd, unsigned int oflags=0600) |
|
bool | open (const char *path, unsigned int oflags, unsigned int mode) |
|
bool | open_trunc (const char *path, unsigned int mode=0600) |
|
bool | create (const char *path, unsigned int mode=0600) |
|
bool | open_read (const char *path) |
|
bool | open_write (const char *path) |
|
bool | open_append (const char *path) |
|
| aio_istream (aio_handle *handle) |
|
| aio_istream (aio_handle *handle, int fd) |
|
void | add_read_callback (aio_callback *callback) |
|
int | del_read_callback (aio_callback *callback=NULL) |
|
int | disable_read_callback (aio_callback *callback=NULL) |
|
int | enable_read_callback (aio_callback *callback=NULL) |
|
void | gets (int timeout=0, bool nonl=true, long long int delay=0, aio_timer_reader *callback=NULL) |
|
void | read (int count=0, int timeout=0, long long int delay=0, aio_timer_reader *callback=NULL) |
|
void | read_wait (int timeout=0) |
|
void | disable_read (void) |
|
void | keep_read (bool onoff) |
|
bool | keep_read (void) const |
|
aio_istream & | set_buf_max (int max) |
|
int | get_buf_max (void) const |
|
| aio_stream (aio_handle *handle) |
|
void | close (void) |
|
void | add_close_callback (aio_callback *callback) |
|
void | add_timeout_callback (aio_callback *callback) |
|
int | del_close_callback (aio_callback *callback=NULL) |
|
int | del_timeout_callback (aio_callback *callback=NULL) |
|
int | disable_close_callback (aio_callback *callback=NULL) |
|
int | disable_timeout_callback (aio_callback *callback=NULL) |
|
int | enable_close_callback (aio_callback *callback=NULL) |
|
int | enable_timeout_callback (aio_callback *callback=NULL) |
|
ACL_ASTREAM * | get_astream (void) const |
|
ACL_VSTREAM * | get_vstream (void) const |
|
int | get_socket (void) const |
|
int | sock_handle (void) const |
|
const char * | get_peer (bool full=false) const |
|
const char * | get_local (bool full=false) const |
|
aio_handle & | get_handle (void) const |
|
stream_hook * | setup_hook (stream_hook *hook) |
|
stream_hook * | get_hook (void) const |
|
stream_hook * | remove_hook (void) |
|
| aio_ostream (aio_handle *handle) |
|
| aio_ostream (aio_handle *handle, int fd) |
|
void | add_write_callback (aio_callback *callback) |
|
int | del_write_callback (aio_callback *callback=NULL) |
|
int | disable_write_callback (aio_callback *callback=NULL) |
|
int | enable_write_callback (aio_callback *callback=NULL) |
|
void | write (const void *data, int len, long long int delay=0, aio_timer_writer *callback=NULL) |
|
void | format (const char *fmt,...) ACL_CPP_PRINTF(2 |
|
void void | vformat (const char *fmt, va_list ap) |
|
void | write_wait (int timeout=0) |
|
void | disable_write (void) |
|
异步文件读写流,该类对象只可用在 UNIX 系统中
在文件 aio_fstream.hpp 第 13 行定义.