借助链式管道,实现管道处理器多分叉架构,解决粘包处理等问题
大石头 authored at 2018-04-27 01:03:42
530.00 B
X
using System;
using System.Net;

namespace NewLife.Data
{
    /// <summary>数据帧接口</summary>
    public interface IData
    {
        #region 属性
        /// <summary>数据包</summary>
        Packet Packet { get; set; }

        /// <summary>远程地址</summary>
        IPEndPoint Remote { get; set; }

        /// <summary>消息</summary>
        Object Message { get; set; }

        /// <summary>用户数据</summary>
        Object UserState { get; set; }
        #endregion
    }
}