public OutgoingStreamHandler(
     TcpClient socket,
     PriorityBlockingQueue <IRequest> queue,
     ConcurrentDictionary <int, IRequest> requests,
     IGazeApiConnectionListener connectionListener,
     GazeApiManager networkLayer)
 {
     _Socket             = socket;
     _ConnectionListener = connectionListener;
     _NetworkLayer       = networkLayer;
     _OutQueue           = queue;
     _OngoingRequests    = requests;
 }
 public IncomingStreamHandler(
     TcpClient _socket,
     IGazeApiReponseListener _responseListener,
     IGazeApiConnectionListener _connectionListener,
     ConcurrentDictionary <int, IRequest> _onGoingRequests,
     GazeApiManager _networkLayer)
 {
     this._Socket             = _socket;
     this._ResponseListener   = _responseListener;
     this._ConnectionListener = _connectionListener;
     this._OnGoingRequests    = _onGoingRequests;
     this._NetworkLayer       = _networkLayer;
 }
Esempio n. 3
0
 public OutgoingStreamHandler(
     TcpClient socket,
     PriorityBlockingQueue<IRequest> queue,
     ConcurrentDictionary<int, IRequest> requests, 
     IGazeApiConnectionListener connectionListener, 
     GazeApiManager networkLayer)
 {
     _Socket = socket;
     _ConnectionListener = connectionListener;
     _NetworkLayer = networkLayer;
     _OutQueue = queue;
     _OngoingRequests = requests;
 }
Esempio n. 4
0
 public IncomingStreamHandler(
     TcpClient _socket, 
     IGazeApiReponseListener _responseListener, 
     IGazeApiConnectionListener _connectionListener,
     ConcurrentDictionary<int, IRequest> _onGoingRequests,
     GazeApiManager _networkLayer)
 {
     this._Socket = _socket;
     this._ResponseListener = _responseListener;
     this._ConnectionListener = _connectionListener;
     this._OnGoingRequests = _onGoingRequests;
     this._NetworkLayer = _networkLayer;
 }