#include <AsyncAcceptor.h>
Definition at line 38 of file AsyncAcceptor.h.
◆ AsyncAcceptor()
| Trinity::Net::AsyncAcceptor::AsyncAcceptor |
( |
Asio::IoContext & |
ioContext, |
|
|
std::string const & |
bindIp, |
|
|
uint16 |
port |
|
) |
| |
|
inline |
◆ AsyncAccept()
template<AcceptCallback Callback>
| void Trinity::Net::AsyncAcceptor::AsyncAccept |
( |
Callback && |
acceptCallback | ) |
|
|
inline |
◆ Bind()
| bool Trinity::Net::AsyncAcceptor::Bind |
( |
| ) |
|
|
inline |
◆ Close()
| void Trinity::Net::AsyncAcceptor::Close |
( |
| ) |
|
|
inline |
◆ DefeaultSocketFactory()
◆ SetSocketFactory()
◆ _acceptor
| boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, IoContextTcpSocket::executor_type> Trinity::Net::AsyncAcceptor::_acceptor |
|
private |
◆ _closed
| std::atomic<bool> Trinity::Net::AsyncAcceptor::_closed |
|
private |
◆ _endpoint
| boost::asio::ip::tcp::endpoint Trinity::Net::AsyncAcceptor::_endpoint |
|
private |
◆ _socket
◆ _socketFactory
The documentation for this class was generated from the following file: