TrinityCore
Loading...
Searching...
No Matches
Battlenet::SessionManager Class Referencefinal

#include <SessionManager.h>

+ Inheritance diagram for Battlenet::SessionManager:

Static Public Member Functions

static SessionManagerInstance ()
 

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
 
SocketMgroperator= (SocketMgr const &)=delete
 
SocketMgroperator= (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::IoContextSelectThreadWithMinConnections () 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
 

Detailed Description

Definition at line 39 of file SessionManager.h.

Member Function Documentation

◆ Instance()

Battlenet::SessionManager & Battlenet::SessionManager::Instance ( )
static

Definition at line 20 of file SessionManager.cpp.


The documentation for this class was generated from the following files: