优化ETL过滤模块
大石头 authored at 2017-08-29 17:11:46
602.00 B
X
using System;
using System.ComponentModel;
using NewLife.Log;
using NewLife.Remoting;

namespace NewLife.MessageQueue
{
    class ClientController : IApi
    {
        /// <summary>Api接口会话</summary>
        public IApiSession Session { get; set; }

        /// <summary>通知</summary>
        /// <param name="msg"></param>
        /// <returns></returns>
        [DisplayName("通知")]
        public Boolean Notify(Message msg)
        {
            XTrace.WriteLine("{0} 收到订阅通知 {1}", Session["user"], msg);

            return true;
        }
    }
}