Files
2026-07-14 13:55:17 +08:00

38 lines
1.1 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/********************************************************************
* *
* * 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
}
}