You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
608 B
23 lines
608 B
2 years ago
|
using System.Net.Sockets;
|
||
|
|
||
|
namespace JiLinApp.Docking.VibrateAlarm;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 与客户端的连接已建立事件参数
|
||
|
/// </summary>
|
||
|
public class TcpClientConnectedEventArgs : EventArgs
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 客户端
|
||
|
/// </summary>
|
||
|
public TcpClient TcpClient { get; private set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 与客户端的连接已建立事件参数
|
||
|
/// </summary>
|
||
|
/// <param name="tcpClient">客户端</param>
|
||
|
public TcpClientConnectedEventArgs(TcpClient tcpClient)
|
||
|
{
|
||
|
TcpClient = tcpClient ?? throw new ArgumentNullException(nameof(tcpClient));
|
||
|
}
|
||
|
}
|