OpenSim/Framework/Servers/BaseOpenSimServer.cs
/// <summary>
/// Must be overriden by child classes for their own server specific startup behaviour.
/// </summary>
Must be overriden by child classes for their own server specific startup behaviour.
Must be overriden by child classes for their own server specific startup behaviour .
protected virtual void StartupSpecific()
        {
            StatsManager.SimExtraStats = new SimExtraStatsCollector();
            RegisterCommonCommands();
            RegisterCommonComponents(Config);
            IConfig startupConfig = Config.Configs["Startup"];
            int logShowStatsSeconds = startupConfig.GetInt("LogShowStatsSeconds", m_periodDiagnosticTimerMS / 1000);
            m_periodDiagnosticTimerMS = logShowStatsSeconds * 1000;
            m_periodicDiagnosticsTimer.Elapsed += new ElapsedEventHandler(LogDiagnostics);
            if (m_periodDiagnosticTimerMS != 0)
            {
                m_periodicDiagnosticsTimer.Interval = m_periodDiagnosticTimerMS;
                m_periodicDiagnosticsTimer.Enabled = true;
            }
        }
protected virtual void StartupSpecific ( ) { StatsManager . SimExtraStats = new SimExtraStatsCollector ( ) ; RegisterCommonCommands ( ) ; RegisterCommonComponents ( Config ) ; IConfig startupConfig = Config . Configs [ " " ] ; int logShowStatsSeconds = startupConfig . GetInt ( " " , m_periodDiagnosticTimerMS / 1000 ) ; m_periodDiagnosticTimerMS = logShowStatsSeconds * 1000 ; m_periodicDiagnosticsTimer . Elapsed += new ElapsedEventHandler ( LogDiagnostics ) ; if ( m_periodDiagnosticTimerMS != 0 ) { m_periodicDiagnosticsTimer . Interval = m_periodDiagnosticTimerMS ; m_periodicDiagnosticsTimer . Enabled = true ; } }
Must be overriden by child classes for their own server specific startup behaviour.
Must be overriden by child classes for their own server specific startup behaviour .