Upgrade Nuget
石头 authored at 2024-11-20 14:01:20
486.00 B
X
using NewLife.Data;

namespace NewLife.Messaging;

/// <summary>收到消息时的事件参数</summary>
public class MessageEventArgs : EventArgs
{
    #region 属性
    /// <summary>数据包</summary>
    public IPacket? Packet { get; set; }

    /// <summary>消息</summary>
    public IMessage? Message { get; set; }

    /// <summary>用户数据。比如远程地址等</summary>
    public Object? UserState { get; set; }
    #endregion

    #region 方法
    #endregion
}