Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
36 lines
723 B
C++
36 lines
723 B
C++
#ifndef _CLIENT_DISPATCH_TABLE_H_
|
|
#define _CLIENT_DISPATCH_TABLE_H_
|
|
|
|
#include <Thread/Lock.h>
|
|
#include <Pattern/Singleton.h>
|
|
|
|
class CBuffer;
|
|
class CRylAdminMgrDispatch;
|
|
|
|
/*!
|
|
\class CClientDispatchTable
|
|
운영서버와 연결중인 클라이언트 연결 세션 테이블
|
|
*/
|
|
class CClientDispatchTable
|
|
{
|
|
private:
|
|
typedef CCSLock DispatchLock ;
|
|
typedef std::list<CRylAdminMgrDispatch*> lstDispatch ;
|
|
|
|
DispatchLock m_DispatchLock;
|
|
lstDispatch m_lstDispatch;
|
|
|
|
public:
|
|
static CClientDispatchTable & GetInstance()
|
|
{
|
|
static CClientDispatchTable DispatchTable;
|
|
return DispatchTable;
|
|
}
|
|
|
|
void insert(CRylAdminMgrDispatch * lpDispatch);
|
|
void erase(CRylAdminMgrDispatch * lpDispatch);
|
|
bool SendAll(CBuffer * lpBuffer);
|
|
|
|
};
|
|
|
|
#endif |