示例#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();
 }
示例#2
0
 public void recv_storeUpdateProfileAttribute()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   storeUpdateProfileAttribute_result result = new storeUpdateProfileAttribute_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.e) {
     throw result.E;
   }
   return;
 }