/// <summary> /// 初始化 /// </summary> /// <param name="connection"></param> public virtual void Init(IMessageDistribution messageDistribution) { //this.Connection=connection; MessageDistribution = messageDistribution; MessageDistribution.AddListener(MessageType, Receive); }
public EventPool(IMessageDistribution messageDistribution) { this.messageDistribution = messageDistribution; events = new List <EventBase>(); }