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