Exemplo n.º 1
0
 public void updateSettingsAttribute_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   updateSettingsAttribute_args args = new updateSettingsAttribute_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   updateSettingsAttribute_result result = new updateSettingsAttribute_result();
   try {
     iface_.updateSettingsAttribute(args.ReqSeq, args.Attr, args.Value);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("updateSettingsAttribute", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Exemplo n.º 2
0
 public void recv_updateSettingsAttribute()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   updateSettingsAttribute_result result = new updateSettingsAttribute_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.e) {
     throw result.E;
   }
   return;
 }