コード例 #1
0
        /// <summary>
        /// 初始化
        /// </summary>
        /// <param name="connection"></param>
        public virtual void Init(IMessageDistribution messageDistribution)
        {
            //this.Connection=connection;
            MessageDistribution = messageDistribution;

            MessageDistribution.AddListener(MessageType, Receive);
        }
コード例 #2
0
 public EventPool(IMessageDistribution messageDistribution)
 {
     this.messageDistribution = messageDistribution;
     events = new List <EventBase>();
 }