public SessionMethodAsyncResult(Session session)
 {
     _session = session;
     _receivedBuffer = new StreamBuffer(2048);
     _dispatchBuffer = new StreamBuffer(2048);
     _responseSelector = new ResponseSelector(_session);
 }
 public SessionMethodAsyncResult(Session session)
 {
     _session          = session;
     _receivedBuffer   = new StreamBuffer(2048);
     _dispatchBuffer   = new StreamBuffer(2048);
     _responseSelector = new ResponseSelector(_session);
 }
        public SessionMethodAsyncEvent(Session session)
        {
            _session = session;
            _receivedBuffer = new StreamBuffer(2048);
            _dispatchBuffer = new StreamBuffer(2048);

            _saeaRecv = new SocketAsyncEventArgs();
            _saeaRecv.Completed += ReceiveComplete;
            _responseSelector = new ResponseSelector(_session);
        }
        public SessionMethodAsyncEvent(Session session)
        {
            _session        = session;
            _receivedBuffer = new StreamBuffer(2048);
            _dispatchBuffer = new StreamBuffer(2048);

            _saeaRecv            = new SocketAsyncEventArgs();
            _saeaRecv.Completed += ReceiveComplete;
            _responseSelector    = new ResponseSelector(_session);
        }