public void saveFBProfilePic_Process(int seqid, TProtocol iprot, TProtocol oprot) { saveFBProfilePic_args args = new saveFBProfilePic_args(); args.Read(iprot); iprot.ReadMessageEnd(); saveFBProfilePic_result result = new saveFBProfilePic_result(); iface_.saveFBProfilePic(args.Username, args.FbUsername); oprot.WriteMessageBegin(new TMessage("saveFBProfilePic", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_saveFBProfilePic(string username, string fbUsername) #endif { oprot_.WriteMessageBegin(new TMessage("saveFBProfilePic", TMessageType.Call, seqid_)); saveFBProfilePic_args args = new saveFBProfilePic_args(); args.Username = username; args.FbUsername = fbUsername; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }