Exemplo n.º 1
0
 public void recv_SetValueLabel()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   SetValueLabel_result result = new SetValueLabel_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   return;
 }
Exemplo n.º 2
0
 public void SetValueLabel_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   SetValueLabel_args args = new SetValueLabel_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   SetValueLabel_result result = new SetValueLabel_result();
   iface_.SetValueLabel(args._id, args._value);
   oprot.WriteMessageBegin(new TMessage("SetValueLabel", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }