/// <summary> /// 创建一个适用于被动方的MASL Connection。 /// </summary> protected MaslConnection(RsspEndPoint rsspEP, IMaslConnectionObserver observer, IAleTunnelEventNotifier tunnelEventNotifier) : this(observer, rsspEP) { _aleConnection = new AleConnectionServer(rsspEP, _auMsgBuilder, this, tunnelEventNotifier); }
/// <summary> /// 创建一个适用于主动方的MASL Connection。 /// </summary> protected MaslConnection(RsspEndPoint rsspEP, IEnumerable <RsspTcpLinkConfig> linkConfig, IMaslConnectionObserver observer, IAleTunnelEventNotifier tunnelEventNotifier) : this(observer, rsspEP) { _aleConnection = new AleConnectionClient(rsspEP, linkConfig, _auMsgBuilder, this, tunnelEventNotifier); }