Inheritance: SagaLib.MultiRunTask
Exemplo n.º 1
0
 public MapClient(uint session)
 {
     this.SessionID            = session;
     this.state                = SESSION_STATE.NOT_IDENTIFIED;
     this.lastHeartbeatRequest = 0;
     this.taskHeartbeat        = new SagaMap.Tasks.SystemTasks.CheckHeartbeat(this);
 }
Exemplo n.º 2
0
 public MapClient(uint session)
 {
     this.SessionID = session;
     this.state = SESSION_STATE.NOT_IDENTIFIED;
     this.lastHeartbeatRequest = 0;
     this.taskHeartbeat = new SagaMap.Tasks.SystemTasks.CheckHeartbeat(this);
 }
Exemplo n.º 3
0
        public MapClient( Socket mSock, Dictionary<ushort, Packet> mCommandTable ,uint session)
        {
            this.SessionID = session;
            this.netIO = new NetIO(mSock, mCommandTable, this, MapClientManager.Instance);
            this.state = SESSION_STATE.NOT_IDENTIFIED;

            this.lastHeartbeatRequest = 0;
            this.taskHeartbeat = new SagaMap.Tasks.SystemTasks.CheckHeartbeat( this );

            if( this.netIO.sock.Connected ) this.OnConnect();
        }
Exemplo n.º 4
0
        public MapClient(Socket mSock, Dictionary <ushort, Packet> mCommandTable, uint session)
        {
            this.SessionID = session;
            this.netIO     = new NetIO(mSock, mCommandTable, this, MapClientManager.Instance);
            this.state     = SESSION_STATE.NOT_IDENTIFIED;

            this.lastHeartbeatRequest = 0;
            this.taskHeartbeat        = new SagaMap.Tasks.SystemTasks.CheckHeartbeat(this);

            if (this.netIO.sock.Connected)
            {
                this.OnConnect();
            }
        }