public void send_reportProfile(long syncOpRevision, Profile profile) #endif { oprot_.WriteMessageBegin(new TMessage("reportProfile", TMessageType.Call, seqid_)); reportProfile_args args = new reportProfile_args(); args.SyncOpRevision = syncOpRevision; args.Profile = profile; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void reportProfile_Process(int seqid, TProtocol iprot, TProtocol oprot) { reportProfile_args args = new reportProfile_args(); args.Read(iprot); iprot.ReadMessageEnd(); reportProfile_result result = new reportProfile_result(); try { iface_.reportProfile(args.SyncOpRevision, args.Profile); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("reportProfile", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }