修正UdpSession、NetUri、NetSession中的一些错误
nnhy authored at 2012-03-01 10:24:47
585.00 B
X
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace NewLife.Net.Sockets
{
    /// <summary>数据接收事件参数</summary>
    public class ReceivedEventArgs : EventArgs
    {
        private Stream _Stream;
        /// <summary>数据流</summary>
        public Stream Stream { get { return _Stream; } set { _Stream = value; } }

        /// <summary>实例化一个数据接收事件参数</summary>
        /// <param name="steam"></param>
        public ReceivedEventArgs(Stream steam) { Stream = steam; }
    }
}