public void notifyDownloaded_Process(int seqid, TProtocol iprot, TProtocol oprot) { notifyDownloaded_args args = new notifyDownloaded_args(); args.Read(iprot); iprot.ReadMessageEnd(); notifyDownloaded_result result = new notifyDownloaded_result(); try { result.Success = iface_.notifyDownloaded(args.PackageId, args.Language); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("notifyDownloaded", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_notifyDownloaded(long packageId, string language) #endif { oprot_.WriteMessageBegin(new TMessage("notifyDownloaded", TMessageType.Call, seqid_)); notifyDownloaded_args args = new notifyDownloaded_args(); args.PackageId = packageId; args.Language = language; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }