public void UpdateRealtimeCmp_Process(int seqid, TProtocol iprot, TProtocol oprot) { UpdateRealtimeCmp_args args = new UpdateRealtimeCmp_args(); args.Read(iprot); iprot.ReadMessageEnd(); UpdateRealtimeCmp_result result = new UpdateRealtimeCmp_result(); result.Success = iface_.UpdateRealtimeCmp(args.Info, args.Channelname); oprot.WriteMessageBegin(new TMessage("UpdateRealtimeCmp", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_UpdateRealtimeCmp(RealtimeCmpInfo info, string channelname) #endif { oprot_.WriteMessageBegin(new TMessage("UpdateRealtimeCmp", TMessageType.Call, seqid_)); UpdateRealtimeCmp_args args = new UpdateRealtimeCmp_args(); args.Info = info; args.Channelname = channelname; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }