public void sendDummyPush_Process(int seqid, TProtocol iprot, TProtocol oprot) { sendDummyPush_args args = new sendDummyPush_args(); args.Read(iprot); iprot.ReadMessageEnd(); sendDummyPush_result result = new sendDummyPush_result(); try { iface_.sendDummyPush(); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("sendDummyPush", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void recv_sendDummyPush() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } sendDummyPush_result result = new sendDummyPush_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } return; }