private void ProLogoutResp() { LogoutResp logoutResp = new LogoutResp(_buffer); OnRaiseMsgRecvEvent(logoutResp.Header.Command_Id, logoutResp, "接收消息:" + logoutResp.ToString()); }
/// <summary> /// 客户端主动断开连接(登出)响应 /// </summary> /// <param name="client"></param> /// <param name="buffer"></param> private void ProWt_LogoutResp(CommuTcpClient client, byte[] buffer) { LogoutResp logout = new LogoutResp(buffer); OnRaiseMsgRecvEvent(client, logout.ToString()); }