/// <summary> /// 数据解析完成的处理 /// </summary> /// <param name="client"></param> /// <param name="obj"></param> private void ReceiveCompeleted(ClientPeer client, SocketMsg msg) { // 给应用层 , 让其使用 app.OnReceive(client, msg); }
private void ReceiveCompleted(ClientPeer client, SocketMsg msg) { //给应用层让其使用 //todo }
/// <summary> /// 一条数据解析完成的处理 /// </summary> /// <param name="client">对应的连接对象</param> /// <param name="msg">解析出来的一个具体使用的类型</param> private void receiveCompleted(ClientPeer client, SocketMsg msg) { //给应用层 让其使用 application.OnReceive(client, msg); }
/// <summary> /// 接收完一条消息时的回调 /// </summary> /// <param name="client"></param> /// <param name="value"></param> private void receiveCompleted(Clientpeer client, SocketMsg value) { //给应用层 让其使用 //TODO }