CSharpRTMP.Core.Protocols.Cluster.SlaveClusterAppProtocolHandler.UnRegisterProtocol C# (CSharp) Method

UnRegisterProtocol() public method

public UnRegisterProtocol ( BaseProtocol protocol ) : void
protocol BaseProtocol
return void
        public override void UnRegisterProtocol(BaseProtocol protocol)
        {
            Logger.INFO("DisconnectOutboundCluster");
            ReconnectTimer.Start();
            foreach (var so in OutboundCluster.SOs)
            {
                so.UnRegisterProtocol(OutboundCluster);
            }
            OutboundCluster = null;
        }