ACR_ServerCommunicator.ACR_ServerCommunicator.PollModuleOnlineAllowed C# (CSharp) Method

PollModuleOnlineAllowed() private method

Set up a polling cycle to check for whether the module is allowed to come online.
private PollModuleOnlineAllowed ( ) : void
return void
        private void PollModuleOnlineAllowed()
        {
            if (ConfirmModuleOnline())
            {
                WriteTimestampedLogEntry("ACR_ServerCommunicator.PollModuleOnlineAllowed: Restarting module because it is now acceptable to bring this server online.");
                SendInfrastructureDiagnosticIrcMessage(String.Format(
                    "Server '{0}' restarting to bring module online normally because administrative offline mode was cleared.",
                    GetName(GetModule())));
                ALFA.SystemInfo.ShutdownGameServer(this);
            }

            DelayCommand(60.0f, delegate()
            {
                PollModuleOnlineAllowed();
            });
        }
ACR_ServerCommunicator