![]() |
TrinityCore
|
#include <IoContext.h>
Public Types | |
| using | executor_type = IoContextExecutor |
Public Member Functions | |
| IoContext () | |
| IoContext (int concurrency_hint) | |
| operator boost::asio::io_context & () | |
| operator boost::asio::io_context const & () const | |
| std::size_t | run () |
| std::size_t | poll () |
| void | stop () |
| bool | stopped () const |
| void | restart () |
| executor_type | get_executor () noexcept |
Private Attributes | |
| boost::asio::io_context | _impl |
Definition at line 53 of file IoContext.h.
Definition at line 56 of file IoContext.h.
|
inline |
Definition at line 58 of file IoContext.h.
|
inlineexplicit |
Definition at line 59 of file IoContext.h.
|
inlinenoexcept |
Definition at line 71 of file IoContext.h.
References _impl.
Referenced by Trinity::Net::AsyncAcceptor::AsyncAccept(), main(), and MySQLConnection::StartWorkerThread().
|
inline |
Definition at line 61 of file IoContext.h.
References _impl.
|
inline |
Definition at line 62 of file IoContext.h.
References _impl.
|
inline |
Definition at line 65 of file IoContext.h.
References _impl.
|
inline |
Definition at line 69 of file IoContext.h.
References _impl.
|
inline |
Definition at line 64 of file IoContext.h.
References _impl.
Referenced by main(), Trinity::Net::NetworkThread< SocketType, DerivedThread >::Run(), and MySQLConnection::StartWorkerThread().
|
inline |
Definition at line 66 of file IoContext.h.
References _impl.
Referenced by Trinity::Net::NetworkThread< SocketType, DerivedThread >::Stop().
|
inline |
Definition at line 68 of file IoContext.h.
References _impl.
|
private |
Definition at line 74 of file IoContext.h.
Referenced by get_executor(), operator boost::asio::io_context &(), operator boost::asio::io_context const &(), poll(), restart(), run(), stop(), and stopped().