#include <AsyncAcceptor.h>
Definition at line 30 of file AsyncAcceptor.h.
◆ AcceptCallback
typedef void(* AsyncAcceptor::AcceptCallback) (boost::asio::ip::tcp::socket &&newSocket, uint32 threadIndex) |
◆ AsyncAcceptor()
◆ AsyncAccept()
template<class T >
void AsyncAcceptor::AsyncAccept |
◆ AsyncAcceptWithCallback()
void AsyncAcceptor::AsyncAcceptWithCallback |
( |
| ) |
|
|
inline |
◆ Bind()
bool AsyncAcceptor::Bind |
( |
| ) |
|
|
inline |
◆ Close()
void AsyncAcceptor::Close |
( |
| ) |
|
|
inline |
◆ DefeaultSocketFactory()
std::pair< boost::asio::ip::tcp::socket *, uint32 > AsyncAcceptor::DefeaultSocketFactory |
( |
| ) |
|
|
inlineprivate |
◆ SetSocketFactory()
void AsyncAcceptor::SetSocketFactory |
( |
std::function< std::pair< boost::asio::ip::tcp::socket *, uint32 >()> |
func | ) |
|
|
inline |
◆ _acceptor
boost::asio::ip::tcp::acceptor AsyncAcceptor::_acceptor |
|
private |
◆ _closed
std::atomic<bool> AsyncAcceptor::_closed |
|
private |
◆ _endpoint
boost::asio::ip::tcp::endpoint AsyncAcceptor::_endpoint |
|
private |
◆ _socket
boost::asio::ip::tcp::socket AsyncAcceptor::_socket |
|
private |
◆ _socketFactory
std::function<std::pair<boost::asio::ip::tcp::socket*, uint32>()> AsyncAcceptor::_socketFactory |
|
private |
The documentation for this class was generated from the following file: