public void NotifyToUI_Process(int seqid, TProtocol iprot, TProtocol oprot) { NotifyToUI_args args = new NotifyToUI_args(); args.Read(iprot); iprot.ReadMessageEnd(); NotifyToUI_result result = new NotifyToUI_result(); result.Success = iface_.NotifyToUI(args.Cfg); oprot.WriteMessageBegin(new TMessage("NotifyToUI", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_NotifyToUI(List <NotifyCfg> cfg) #endif { oprot_.WriteMessageBegin(new TMessage("NotifyToUI", TMessageType.Call, seqid_)); NotifyToUI_args args = new NotifyToUI_args(); args.Cfg = cfg; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }