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.
26 lines
644 B
26 lines
644 B
2 years ago
|
using System.Net.Sockets;
|
||
|
|
||
|
namespace JiLinApp.Docking.VibrateAlarm;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 与客户端的连接已建立事件参数
|
||
|
/// </summary>
|
||
|
public class TcpClientConnectedEventArgs : EventArgs
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 与客户端的连接已建立事件参数
|
||
|
/// </summary>
|
||
|
/// <param name="tcpClient">客户端</param>
|
||
|
public TcpClientConnectedEventArgs(TcpClient tcpClient)
|
||
|
{
|
||
|
if (tcpClient == null)
|
||
|
throw new ArgumentNullException("tcpClient");
|
||
|
|
||
|
TcpClient = tcpClient;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 客户端
|
||
|
/// </summary>
|
||
|
public TcpClient TcpClient { get; private set; }
|
||
|
}
|