Beispiel #1
0
 public bool recv_SetValue_Float()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   SetValue_Float_result result = new SetValue_Float_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "SetValue_Float failed: unknown result");
 }
Beispiel #2
0
 public void SetValue_Float_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   SetValue_Float_args args = new SetValue_Float_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   SetValue_Float_result result = new SetValue_Float_result();
   result.Success = iface_.SetValue_Float(args._id, args._value);
   oprot.WriteMessageBegin(new TMessage("SetValue_Float", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }