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

UnRegisterProtocol() public method

public UnRegisterProtocol ( BaseProtocol protocol ) : void
protocol BaseProtocol
return void
        public override void UnRegisterProtocol(BaseProtocol protocol)
        {
            Logger.INFO("Outgoing Cluster!");
            InboundClusters.Remove(protocol as InboundClusterProtocol);
            foreach (var so in (protocol as InboundClusterProtocol).SOs)
            {
                so.UnRegisterProtocol(protocol as InboundClusterProtocol);
            }
        }