public CUserToken() { this.cs_sending_queue = new object(); this.message_resolver = new CMessageResolver(); this.peer = null; this.sending_list = new List <ArraySegment <byte> >(); }
public CUserToken() { this.cs_sending_queue = new object(); this.message_resolver = new CMessageResolver(); this.peer = null; this.sending_queue = new Queue <CPacket>(); }
public CUserToken() { //Console.WriteLine(this + " CUserToken"); this.lockQueue = new object(); this.messageResolve = new CMessageResolver(); this.peer = null; this.sendingQueue = new Queue <CPacket>(); }
public CUserToken(IMessageDispatcher dispatcher) { this.dispatcher = dispatcher; this.cs_sending_queue = new object(); this.message_resolver = new CMessageResolver(); this.peer = null; this.sending_list = new List <ArraySegment <byte> >(); this.latest_heartbeat_time = DateTime.Now.Ticks; this.current_state = State.Idle; }