Exemplo n.º 1
0
        private void ProChatFeePush()
        {
            ChatFeePush chatFeePush = new ChatFeePush(_buffer);

            OnRaiseMsgRecvEvent(chatFeePush.Header.Command_Id, chatFeePush, "接收消息:" + chatFeePush.ToString());
            ChatFeePushResp chatFeePushResp = new ChatFeePushResp(chatFeePush.Header.Sequence_Id);

            SendData(chatFeePushResp.ToBytes());
            OnRaiseMsgSendEvent(chatFeePushResp.Header.Command_Id, chatFeePushResp, "发送消息:" + chatFeePushResp.ToString());
        }
Exemplo n.º 2
0
        /// <summary>
        /// 聊天计费推送响应
        /// </summary>
        /// <param name="client"></param>
        /// <param name="buffer"></param>
        private void ProChatFeePushResp(CommuTcpClient client, byte[] buffer)
        {
            ChatFeePushResp chatFeePushResp = new ChatFeePushResp(buffer);

            OnRaiseMsgRecvEvent(client, chatFeePushResp.ToString());
        }