public void testCase2_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                testCase2_args args = new testCase2_args();

                args.Read(iprot);
                iprot.ReadMessageEnd();
                testCase2_result result = new testCase2_result();

                result.Success = iface_.testCase2(args.Num1);
                oprot.WriteMessageBegin(new TMessage("testCase2", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }
            public List <string> recv_testCase2()
            {
                TMessage msg = iprot_.ReadMessageBegin();

                if (msg.Type == TMessageType.Exception)
                {
                    TApplicationException x = TApplicationException.Read(iprot_);
                    iprot_.ReadMessageEnd();
                    throw x;
                }
                testCase2_result result = new testCase2_result();

                result.Read(iprot_);
                iprot_.ReadMessageEnd();
                if (result.__isset.success)
                {
                    return(result.Success);
                }
                throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "testCase2 failed: unknown result");
            }
 public void testCase2_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     testCase2_args args = new testCase2_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     testCase2_result result = new testCase2_result();
     result.Success = iface_.testCase2(args.Num1);
     oprot.WriteMessageBegin(new TMessage("testCase2", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
 public List<string> recv_testCase2()
 {
     TMessage msg = iprot_.ReadMessageBegin();
     if (msg.Type == TMessageType.Exception)
     {
         TApplicationException x = TApplicationException.Read(iprot_);
         iprot_.ReadMessageEnd();
         throw x;
     }
     testCase2_result result = new testCase2_result();
     result.Read(iprot_);
     iprot_.ReadMessageEnd();
     if (result.__isset.success)
     {
         return result.Success;
     }
     throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "testCase2 failed: unknown result");
 }