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