![]() |
TrinityCore
|
#include <SessionManager.h>
Inheritance diagram for Battlenet::SessionManager:Static Public Member Functions | |
| static SessionManager & | Instance () |
Additional Inherited Members | |
Public Types inherited from Trinity::Net::SocketMgr< SessionManagerTraits > | |
| using | Self = typename Traits::Self |
| using | SocketType = typename Traits::SocketType |
| using | ThreadType = typename Traits::ThreadType |
Public Member Functions inherited from Trinity::Net::SocketMgr< SessionManagerTraits > | |
| 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) |
| int32 | GetNetworkThreadCount () const |
| Asio::IoContext * | SelectThreadWithMinConnections () const |
Protected Member Functions inherited from Trinity::Net::SocketMgr< SessionManagerTraits > | |
| SocketMgr () | |
| virtual std::unique_ptr< ThreadType[]> | CreateThreads () const |
Protected Attributes inherited from Trinity::Net::SocketMgr< SessionManagerTraits > | |
| std::unique_ptr< AsyncAcceptor > | _acceptor |
| std::unique_ptr< ThreadType[]> | _threads |
| int32 | _threadCount |
Definition at line 39 of file SessionManager.h.
|
static |
Definition at line 20 of file SessionManager.cpp.