Exemple #1
0
 public void storeUpdateProfileAttribute_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   storeUpdateProfileAttribute_args args = new storeUpdateProfileAttribute_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   storeUpdateProfileAttribute_result result = new storeUpdateProfileAttribute_result();
   try {
     iface_.storeUpdateProfileAttribute(args.Seq, args.ProfileAttribute, args.Value);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("storeUpdateProfileAttribute", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Exemple #2
0
 public void send_storeUpdateProfileAttribute(int seq, ProfileAttribute profileAttribute, string value)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("storeUpdateProfileAttribute", TMessageType.Call, seqid_));
   storeUpdateProfileAttribute_args args = new storeUpdateProfileAttribute_args();
   args.Seq = seq;
   args.ProfileAttribute = profileAttribute;
   args.Value = value;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }