27 lines
639 B
C#
27 lines
639 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Net.Sockets;
|
|
|
|
namespace HHWMS.Web
|
|
{
|
|
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; }
|
|
}
|
|
}
|