public void testCase4_Process(int seqid, TProtocol iprot, TProtocol oprot) { testCase4_args args = new testCase4_args(); args.Read(iprot); iprot.ReadMessageEnd(); testCase4_result result = new testCase4_result(); iface_.testCase4(args.Blog); oprot.WriteMessageBegin(new TMessage("testCase4", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void recv_testCase4() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } testCase4_result result = new testCase4_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); return; }