Esempio n. 1
0
 public bool recv_RefreshValue()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   RefreshValue_result result = new RefreshValue_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "RefreshValue failed: unknown result");
 }
Esempio n. 2
0
 public void RefreshValue_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   RefreshValue_args args = new RefreshValue_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   RefreshValue_result result = new RefreshValue_result();
   result.Success = iface_.RefreshValue(args._id);
   oprot.WriteMessageBegin(new TMessage("RefreshValue", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }