public int recv_testCase1()
 {
     TMessage msg = iprot_.ReadMessageBegin();
     if (msg.Type == TMessageType.Exception)
     {
         TApplicationException x = TApplicationException.Read(iprot_);
         iprot_.ReadMessageEnd();
         throw x;
     }
     testCase1_result result = new testCase1_result();
     result.Read(iprot_);
     iprot_.ReadMessageEnd();
     if (result.__isset.success)
     {
         return result.Success;
     }
     throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "testCase1 failed: unknown result");
 }
            public int recv_testCase1()
            {
                TMessage msg = iprot_.ReadMessageBegin();

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

                result.Read(iprot_);
                iprot_.ReadMessageEnd();
                if (result.__isset.success)
                {
                    return(result.Success);
                }
                throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "testCase1 failed: unknown result");
            }