From 65c5efe43b68700bad94076d4cd421160203c5de Mon Sep 17 00:00:00 2001
From: Jeff Ames
Date: Fri, 16 May 2008 01:22:11 +0000
Subject: Formatting cleanup.
---
OpenSim/Framework/Servers/BaseOpenSimServer.cs | 28 +++++++++++++-------------
1 file changed, 14 insertions(+), 14 deletions(-)
(limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs')
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
index 811a0db..fcbc5a1 100644
--- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs
+++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
@@ -44,16 +44,16 @@ namespace OpenSim.Framework.Servers
{
get { return m_httpServer; }
}
-
+
///
/// Holds the non-viewer statistics collection object for this service/server
///
protected IStatsCollector m_stats;
-
+
public BaseOpenSimServer()
{
m_startuptime = DateTime.Now;
- }
+ }
///
/// Should be overriden by descendents if they need to perform extra shutdown processing
@@ -66,7 +66,7 @@ namespace OpenSim.Framework.Servers
}
Environment.Exit(0);
}
-
+
///
/// Runs commands issued by the server console from the operator
///
@@ -75,17 +75,17 @@ namespace OpenSim.Framework.Servers
public virtual void RunCmd(string command, string[] cmdparams)
{
switch (command)
- {
+ {
case "help":
Notice("quit - equivalent to shutdown.");
-
+
if (m_stats != null)
Notice("show stats - statistical information for this server");
-
+
Notice("show uptime - show server startup and uptime.");
Notice("shutdown - shutdown the server.\n");
break;
-
+
case "show":
if (cmdparams.Length > 0)
{
@@ -96,10 +96,10 @@ namespace OpenSim.Framework.Servers
case "quit":
case "shutdown":
Shutdown();
- break;
+ break;
}
}
-
+
///
/// Outputs to the console information about the region
///
@@ -107,18 +107,18 @@ namespace OpenSim.Framework.Servers
public virtual void Show(string ShowWhat)
{
switch (ShowWhat)
- {
+ {
case "stats":
if (m_stats != null)
{
Notice(m_stats.Report());
}
- break;
-
+ break;
+
case "uptime":
Notice("Server has been running since " + m_startuptime.DayOfWeek + ", " + m_startuptime.ToString());
Notice("That is an elapsed time of " + (DateTime.Now - m_startuptime).ToString());
- break;
+ break;
}
}
--
cgit v1.1