Ejemplo n.º 1
0
 public void getNimbusConf_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getNimbusConf_args args = new getNimbusConf_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getNimbusConf_result result = new getNimbusConf_result();
   try {
     result.Success = iface_.getNimbusConf();
   } catch (AuthorizationException aze) {
     result.Aze = aze;
   }
   oprot.WriteMessageBegin(new TMessage("getNimbusConf", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Ejemplo n.º 2
0
 public string recv_getNimbusConf()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   getNimbusConf_result result = new getNimbusConf_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   if (result.__isset.aze) {
     throw result.Aze;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getNimbusConf failed: unknown result");
 }