![]() |
TrinityCore
|
#include <NetworkThread.h>
Public Member Functions | |
| NetworkThread () | |
| NetworkThread (NetworkThread const &)=delete | |
| NetworkThread (NetworkThread &&)=delete | |
| NetworkThread & | operator= (NetworkThread const &)=delete |
| NetworkThread & | operator= (NetworkThread &&)=delete |
| virtual | ~NetworkThread () |
| void | Stop () |
| bool | Start () |
| void | Wait () |
| int32 | GetConnectionCount () const |
| void | AddSocket (std::shared_ptr< SocketType > &&sock) |
| Trinity::Asio::IoContext * | GetIoContext () |
Protected Member Functions | |
| virtual void | SocketAdded (std::shared_ptr< SocketType > const &) |
| virtual void | SocketRemoved (std::shared_ptr< SocketType > const &) |
| void | AddNewSockets () |
| void | Run () |
| void | Update () |
Private Types | |
| typedef std::vector< std::shared_ptr< SocketType > > | SocketContainer |
Private Attributes | |
| std::atomic< int32 > | _connections |
| std::atomic< bool > | _stopped |
| std::unique_ptr< std::thread > | _thread |
| SocketContainer | _sockets |
| std::mutex | _newSocketsLock |
| SocketContainer | _newSockets |
| Trinity::Asio::IoContext | _ioContext |
| Trinity::Asio::DeadlineTimer | _updateTimer |
Definition at line 35 of file NetworkThread.h.
|
private |
Definition at line 159 of file NetworkThread.h.
|
inline |
Definition at line 38 of file NetworkThread.h.
|
delete |
|
delete |
|
inlinevirtual |
|
inlineprotected |
Definition at line 97 of file NetworkThread.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 78 of file NetworkThread.h.
|
inline |
Definition at line 91 of file NetworkThread.h.
|
delete |
|
delete |
|
inlineprotected |
Definition at line 118 of file NetworkThread.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotectedvirtual |
Reimplemented in WorldSocketThread.
Definition at line 94 of file NetworkThread.h.
Here is the caller graph for this function:
|
inlineprotectedvirtual |
Reimplemented in Trinity::Net::Http::HttpNetworkThread< SessionImpl >, and WorldSocketThread.
Definition at line 95 of file NetworkThread.h.
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 55 of file NetworkThread.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 131 of file NetworkThread.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
private |
Definition at line 161 of file NetworkThread.h.
|
private |
Definition at line 171 of file NetworkThread.h.
|
private |
Definition at line 169 of file NetworkThread.h.
|
private |
Definition at line 168 of file NetworkThread.h.
|
private |
Definition at line 166 of file NetworkThread.h.
|
private |
Definition at line 162 of file NetworkThread.h.
|
private |
Definition at line 164 of file NetworkThread.h.
|
private |
Definition at line 172 of file NetworkThread.h.