CSharpRTMP.Core.Protocols.Cluster.SlaveClusterAppProtocolHandler.RegisterProtocol C# (CSharp) 메소드

RegisterProtocol() 공개 메소드

public RegisterProtocol ( BaseProtocol protocol ) : void
protocol BaseProtocol
리턴 void
        public override void RegisterProtocol(BaseProtocol protocol)
        {
            OutboundCluster = protocol as OutboundClusterProtocol;
            foreach (var room in ClientApplicationManager.ApplicationByName.Values)
            {
                room.SOManager.RegisterProtocol(OutboundCluster);
            }
            while (_offlineTasks!=null)
            {
                _offlineTasks(OutboundCluster);
                _offlineTasks = null;
            }
        }