public UnixConnection(HostConnectionPool pool, ReusableUnixClient client)
 {
     this._pool        = pool;
     this._client      = client;
     this._stream      = new BufferedStream(client.GetStream());
     this._controlTime = DateTime.Now;
     this._buffer      = new byte[UnixMessageIO.DefaultStreamBufferSize];
 }
Esempio n. 2
0
		public UnixConnection (HostConnectionPool pool, ReusableUnixClient client)
		{
			_pool = pool;
			_client = client;
			_stream = new BufferedStream (client.GetStream());
			_controlTime = DateTime.Now;
			_buffer = new byte[UnixMessageIO.DefaultStreamBufferSize];
		}