public Bool_Int recv_GetValueAsInt()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   GetValueAsInt_result result = new GetValueAsInt_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "GetValueAsInt failed: unknown result");
 }
 public void GetValueAsInt_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   GetValueAsInt_args args = new GetValueAsInt_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   GetValueAsInt_result result = new GetValueAsInt_result();
   result.Success = iface_.GetValueAsInt(args._id);
   oprot.WriteMessageBegin(new TMessage("GetValueAsInt", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }