コード例 #1
0
ファイル: NetClientThread.cs プロジェクト: midgithub/notes
 public NetClientThread()
 {
     msgExHandlers = new Dictionary <short, MsgExHandler>();
     msgHandlers   = new Dictionary <Int16, MsgHandler>();
     msgTypes      = new Dictionary <Int16, Type>();
     recvMsgs      = new Queue <RecvBuffer>();
     sendMsgs      = new Queue <SendBuffer>();
     m_netEncrypt  = new NetEncrypt();
     cacheSendMsgs = new CachePool <SendBuffer>();
     cacheRecvMsgs = new CachePool <RecvBuffer>(30);
     Start();
 }