添加项目文件。
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/********************************************************************
|
||||
* *
|
||||
* * Copyright (C) 2013-? Corporation All rights reserved.
|
||||
* * 作者: BinGoo QQ:315567586
|
||||
* * 请尊重作者劳动成果,请保留以上作者信息,禁止用于商业活动。
|
||||
* *
|
||||
* * 创建时间:2014-08-05
|
||||
* * 说明:
|
||||
* *
|
||||
********************************************************************/
|
||||
namespace SocketHelper
|
||||
{
|
||||
public class DelegateHelper
|
||||
{
|
||||
#region 委托方法
|
||||
/// <summary>
|
||||
/// 接收数据委托方法
|
||||
/// </summary>
|
||||
public static SocketReadCallBack SocketReceive;
|
||||
/// <summary>
|
||||
/// 接收数据的委托
|
||||
/// </summary>
|
||||
/// <param name="msg"></param>
|
||||
public delegate void SocketReadCallBack(string msg);
|
||||
|
||||
/// <summary>
|
||||
/// 接收信息委托方法
|
||||
/// </summary>
|
||||
public static SocketReadInfoCallBack SocketInfo;
|
||||
/// <summary>
|
||||
/// 接收数据的委托
|
||||
/// </summary>
|
||||
/// <param name="msg"></param>
|
||||
public delegate void SocketReadInfoCallBack(string msg);
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user