Пример #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();
 }
Пример #2
0
 public void send_updateSettingsAttribute(int reqSeq, SettingsAttribute attr, string value)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("updateSettingsAttribute", TMessageType.Call, seqid_));
   updateSettingsAttribute_args args = new updateSettingsAttribute_args();
   args.ReqSeq = reqSeq;
   args.Attr = attr;
   args.Value = value;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }