public void updateProfileAttribute_Process(int seqid, TProtocol iprot, TProtocol oprot) { updateProfileAttribute_args args = new updateProfileAttribute_args(); args.Read(iprot); iprot.ReadMessageEnd(); updateProfileAttribute_result result = new updateProfileAttribute_result(); try { iface_.updateProfileAttribute(args.ReqSeq, args.Attr, args.Value); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("updateProfileAttribute", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void recv_updateProfileAttribute() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } updateProfileAttribute_result result = new updateProfileAttribute_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } return; }