Exemplo n.º 1
0
 public void getRuntimePropertyList_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     getRuntimePropertyList_args args = new getRuntimePropertyList_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     getRuntimePropertyList_result result = new getRuntimePropertyList_result();
     try {
         result.Success = iface_.getRuntimePropertyList(args.ComponentID, args.Key);
     } catch (AsapiException asapiEx) {
         result.AsapiEx = asapiEx;
     }
     oprot.WriteMessageBegin(new TMessage("getRuntimePropertyList", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Exemplo n.º 2
0
 public List<string> recv_getRuntimePropertyList()
 {
     TMessage msg = iprot_.ReadMessageBegin();
     if (msg.Type == TMessageType.Exception) {
         TApplicationException x = TApplicationException.Read(iprot_);
         iprot_.ReadMessageEnd();
         throw x;
     }
     getRuntimePropertyList_result result = new getRuntimePropertyList_result();
     result.Read(iprot_);
     iprot_.ReadMessageEnd();
     if (result.__isset.success) {
         return result.Success;
     }
     if (result.__isset.asapiEx) {
         throw result.AsapiEx;
     }
     throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getRuntimePropertyList failed: unknown result");
 }