2 #include "../acl_cpp_define.hpp" 4 #include "../stdlib/string.hpp" 46 virtual void timer_callback(
unsigned int id);
73 #if defined(_WIN32) || defined(_WIN64) 102 int disable_write_callback(
aio_callback* callback = NULL);
110 int enable_write_callback(
aio_callback* callback = NULL);
123 #if defined(_WIN32) || defined(_WIN64) 124 void write(
const void* data,
int len, __int64 delay = 0,
127 void write(
const void* data,
int len,
long long int delay = 0,
144 void vformat(
const char*
fmt, va_list ap);
151 void write_wait(
int timeout = 0);
158 void disable_write(
void);
165 virtual void destroy(
void);
170 void hook_write(
void);
174 std::list<aio_timer_writer*>* timer_writers_;
175 std::list<AIO_CALLBACK*> write_callbacks_;
#define ACL_CPP_PRINTF(format_idx, arg_idx)
ACL_API ACL_VSTRING const char * format
virtual void destroy(void)
ACL_API void const char * fmt