18#ifndef SessionManager_h__
19#define SessionManager_h__
43#define sSessionMgr Battlenet::SessionManager::Instance()
SocketMgr< Session > BaseSocketMgr
NetworkThread< Session > * CreateThreads() const override
bool StartNetwork(Trinity::Asio::IoContext &ioContext, std::string const &bindIp, uint16 port, int threadCount=1) override
static void OnSocketAccept(boost::asio::ip::tcp::socket &&sock, uint32 threadIndex)
static SessionManager & Instance()