Beispiel #1
0
 public bool recv_SetConfigParam()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   SetConfigParam_result result = new SetConfigParam_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "SetConfigParam failed: unknown result");
 }
Beispiel #2
0
 public void SetConfigParam_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   SetConfigParam_args args = new SetConfigParam_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   SetConfigParam_result result = new SetConfigParam_result();
   result.Success = iface_.SetConfigParam(args._homeId, args._nodeId, args._param, args._value, args._size);
   oprot.WriteMessageBegin(new TMessage("SetConfigParam", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }