You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
653 B
C#
27 lines
653 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Net.Sockets;
|
|
|
|
namespace Mesnac.Communication
|
|
{
|
|
public sealed class MySocketAsyncEventArgs : SocketAsyncEventArgs
|
|
{
|
|
private string Property; //读写类型
|
|
|
|
/// <summary>
|
|
/// 构造方法
|
|
/// </summary>
|
|
/// <param name="property">读写操作类型:Receive/Send</param>
|
|
public MySocketAsyncEventArgs(string property)
|
|
{
|
|
this.Property = property;
|
|
}
|
|
/// <summary>
|
|
/// 用户标识
|
|
/// </summary>
|
|
public string UID { get; set; }
|
|
}
|
|
}
|