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