public void sendChatChecked_Process(int seqid, TProtocol iprot, TProtocol oprot) { sendChatChecked_args args = new sendChatChecked_args(); args.Read(iprot); iprot.ReadMessageEnd(); sendChatChecked_result result = new sendChatChecked_result(); try { iface_.sendChatChecked(args.Seq, args.Consumer, args.LastMessageId); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("sendChatChecked", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void recv_sendChatChecked() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } sendChatChecked_result result = new sendChatChecked_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } return; }