public EzySocketClient()
 {
     this.codecFactory        = new EzySimpleCodecFactory();
     this.packetQueue         = new EzyBlockingPacketQueue();
     this.socketEventQueue    = new EzySocketEventQueue();
     this.responseApi         = newResponseApi();
     this.localEventQueue     = new List <EzyEvent>();
     this.localMessageQueue   = new List <EzyArray>();
     this.localSocketStatuses = new List <EzySocketStatus>();
     this.socketStatuses      = new EzyValueStack <EzySocketStatus>(EzySocketStatus.NOT_CONNECT);
 }
 public void setSocketEventQueue(EzySocketEventQueue socketEventQueue)
 {
     this.socketEventQueue = socketEventQueue;
 }