public void SendEof()
        {
            if (_isDisposed)
            {
                throw new ObjectDisposedException(this.GetType().FullName);
            }

            _connService.SendMsgChannelEof(this);
            _eofSent = true;

            // Raise event.
            OnEofSent(new EventArgs());
        }