#include <async_acceptor.h>
Public Types | |
| typedef std::function< void(const char *buffer, size_t len)> | CallBack |
Public Member Functions | |
| AsyncAcceptor (const std::string &ip, int thread_num, int port, CallBack call_back_func) | |
| virtual | ~AsyncAcceptor () |
| void | StartAccept () |
Definition at line 26 of file async_acceptor.h.
| typedef std::function<void(const char* buffer, size_t len)> resdb::AsyncAcceptor::CallBack |
Definition at line 28 of file async_acceptor.h.
| resdb::AsyncAcceptor::AsyncAcceptor | ( | const std::string & | ip, |
| int | thread_num, | ||
| int | port, | ||
| CallBack | call_back_func | ||
| ) |
Definition at line 112 of file async_acceptor.cpp.
|
virtual |
Definition at line 123 of file async_acceptor.cpp.
| void resdb::AsyncAcceptor::StartAccept | ( | ) |
Definition at line 141 of file async_acceptor.cpp.