14 Star 54 Fork 31

NtripShare/NtripShareBase

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
MessageReceivedFromClientEventArgs.cs 899 Bytes
一键复制 编辑 原始数据 按行查看 历史
NtripShare 提交于 5年前 . 初始版本
using System;
using System.Collections.Generic;
using System.Text;
namespace WatsonTcp
{
/// <summary>
/// Event arguments for when a message is received from a client.
/// </summary>
public class MessageReceivedFromClientEventArgs
{
internal MessageReceivedFromClientEventArgs(string ipPort, Dictionary<object, object> metadata, byte[] data)
{
IpPort = ipPort;
Metadata = metadata;
Data = data;
}
/// <summary>
/// The IP:port of the client.
/// </summary>
public string IpPort { get; }
/// <summary>
/// The metadata received from the client.
/// </summary>
public Dictionary<object, object> Metadata { get; }
/// <summary>
/// The data received from the client.
/// </summary>
public byte[] Data { get; }
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/ntripshare/ntrip-share-base.git
git@gitee.com:ntripshare/ntrip-share-base.git
ntripshare
ntrip-share-base
NtripShareBase
master

搜索帮助