![]() |
TrinityCore
|
#include <SocketMgr.h>
Public Member Functions | |
| SocketMgr (SocketMgr const &)=delete | |
| SocketMgr (SocketMgr &&)=delete | |
| SocketMgr & | operator= (SocketMgr const &)=delete |
| SocketMgr & | operator= (SocketMgr &&)=delete |
| virtual | ~SocketMgr () |
| virtual bool | StartNetwork (Asio::IoContext &ioContext, std::string const &bindIp, uint16 port, int threadCount) |
| virtual void | StopNetwork () |
| void | Wait () |
| virtual void | OnSocketOpen (IoContextTcpSocket &&sock, uint32 threadIndex) |
| int32 | GetNetworkThreadCount () const |
| uint32 | SelectThreadWithMinConnections () const |
| std::pair< IoContextTcpSocket *, uint32 > | GetSocketForAccept () |
Protected Member Functions | |
| SocketMgr () | |
| virtual NetworkThread< SocketType > * | CreateThreads () const =0 |
Protected Attributes | |
| std::unique_ptr< AsyncAcceptor > | _acceptor |
| std::unique_ptr< NetworkThread< SocketType >[]> | _threads |
| int32 | _threadCount |
Definition at line 31 of file SocketMgr.h.
|
delete |
|
delete |
|
inlinevirtual |
Definition at line 39 of file SocketMgr.h.
|
inlineprotected |
Definition at line 134 of file SocketMgr.h.
|
protectedpure virtual |
|
inline |
Definition at line 114 of file SocketMgr.h.
|
inline |
Definition at line 127 of file SocketMgr.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in WorldSocketMgr.
Definition at line 99 of file SocketMgr.h.
|
delete |
|
delete |
|
inline |
|
inlinevirtual |
Reimplemented in AuthSocketMgr.
Definition at line 44 of file SocketMgr.h.
Here is the call graph for this function:
|
inlinevirtual |
Reimplemented in WorldSocketMgr.
Definition at line 79 of file SocketMgr.h.
Here is the call graph for this function:
|
inline |
Definition at line 93 of file SocketMgr.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 140 of file SocketMgr.h.
|
protected |
Definition at line 142 of file SocketMgr.h.
|
protected |
Definition at line 141 of file SocketMgr.h.