using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TouchSocket.Core;
namespace TouchSocket.Sockets
{
///
/// 具有完成连接动作的插件接口
///
public interface IConnectedPlugin:IPlugin
{
///
/// 客户端连接成功后触发
///
/// 客户端
/// 参数
[AsyncRaiser]
void OnConnected(object client, TouchSocketEventArgs e);
///
/// 客户端连接成功后触发
///
///
///
///
Task OnConnectedAsync(object client, TouchSocketEventArgs e);
}
}