コード例 #1
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;
 }
コード例 #2
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;
 }
コード例 #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;
 }
コード例 #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;
 }