From 64f01ade04863dbe7b392ea8f0fc4dcc8e32bd94 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Fri, 13 Jun 2008 00:21:53 +0000 Subject: Update svn properties, clean up formatting, refactor out duplicate hard-coded port numbers. --- OpenSim/Framework/Servers/BaseOpenSimServer.cs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'OpenSim/Framework/Servers') diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index a273676..433b040 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs @@ -47,14 +47,14 @@ namespace OpenSim.Framework.Servers /// server. /// private Timer m_periodicLogStatsTimer = new Timer(60 * 60 * 1000); - + protected ConsoleBase m_console; /// /// Time at which this server was started /// protected DateTime m_startuptime; - + /// /// Record the initial startup directory for info purposes /// @@ -80,11 +80,11 @@ namespace OpenSim.Framework.Servers { m_startuptime = DateTime.Now; m_version = VersionInfo.Version; - - m_periodicLogStatsTimer.Elapsed += new ElapsedEventHandler(LogStats); + + m_periodicLogStatsTimer.Elapsed += new ElapsedEventHandler(LogStats); m_periodicLogStatsTimer.Enabled = true; } - + /// /// Print statistics to the logfile, if they are active /// @@ -93,7 +93,7 @@ namespace OpenSim.Framework.Servers if (m_stats != null) { m_log.Info(m_stats.Report()); - } + } } /// @@ -131,10 +131,10 @@ namespace OpenSim.Framework.Servers Notice("quit - equivalent to shutdown."); Notice("show info - show server information (e.g. startup path)."); - + if (m_stats != null) Notice("show stats - show statistical information for this server"); - + Notice("show uptime - show server startup time and uptime."); Notice("show version - show server version."); Notice("shutdown - shutdown the server.\n"); @@ -165,9 +165,9 @@ namespace OpenSim.Framework.Servers { case "info": Notice("Version: " + m_version ); - Notice("Startup directory: " + m_startupDirectory); + Notice("Startup directory: " + m_startupDirectory); break; - + case "stats": if (m_stats != null) { @@ -255,7 +255,7 @@ namespace OpenSim.Framework.Servers { OSString = Util.ReadEtcIssue(); } - + if (OSString.Length > 45) { OSString = OSString.Substring(0, 45); -- cgit v1.1