diff options
author | Justin Clarke Casey | 2008-08-18 21:14:38 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-08-18 21:14:38 +0000 |
commit | 9650632cd125fa6e5c804f76ecdfac9904e8581b (patch) | |
tree | b8ad66f6a436ef2e755d5d29448f31ce5c748b69 /OpenSim/Framework | |
parent | * osmantis test. Speak, we want you to. (diff) | |
download | opensim-SC_OLD-9650632cd125fa6e5c804f76ecdfac9904e8581b.zip opensim-SC_OLD-9650632cd125fa6e5c804f76ecdfac9904e8581b.tar.gz opensim-SC_OLD-9650632cd125fa6e5c804f76ecdfac9904e8581b.tar.bz2 opensim-SC_OLD-9650632cd125fa6e5c804f76ecdfac9904e8581b.tar.xz |
* It appears that sometimes some IClientAPI reference is not being released, resulting in continual execution of the CheckConnectivity timer method
* For now, just turn off this timer when we close the connection
* Also some minor help refactoring creeps in to this revision.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Console/ConsoleBase.cs | 1 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/BaseOpenSimServer.cs | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs index 89fd77d..b9610e0 100644 --- a/OpenSim/Framework/Console/ConsoleBase.cs +++ b/OpenSim/Framework/Console/ConsoleBase.cs | |||
@@ -245,6 +245,7 @@ namespace OpenSim.Framework.Console | |||
245 | try | 245 | try |
246 | { | 246 | { |
247 | string line = System.Console.ReadLine(); | 247 | string line = System.Console.ReadLine(); |
248 | |||
248 | while (line == null) | 249 | while (line == null) |
249 | { | 250 | { |
250 | line = System.Console.ReadLine(); | 251 | line = System.Console.ReadLine(); |
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index 33081b9..abc2bc1 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs | |||
@@ -201,6 +201,8 @@ namespace OpenSim.Framework.Servers | |||
201 | { | 201 | { |
202 | case "help": | 202 | case "help": |
203 | Notice(""); | 203 | Notice(""); |
204 | // TODO: help on commands not yet implemented | ||
205 | //Notice("help [command] - display general help or specific command help."); | ||
204 | Notice("quit - equivalent to shutdown."); | 206 | Notice("quit - equivalent to shutdown."); |
205 | 207 | ||
206 | Notice("set log level [level] - change the console logging level only. For example, off or debug."); | 208 | Notice("set log level [level] - change the console logging level only. For example, off or debug."); |
@@ -253,6 +255,34 @@ namespace OpenSim.Framework.Servers | |||
253 | 255 | ||
254 | SetConsoleLogLevel(setParams); | 256 | SetConsoleLogLevel(setParams); |
255 | } | 257 | } |
258 | } | ||
259 | |||
260 | /// <summary> | ||
261 | /// Show help information | ||
262 | /// </summary> | ||
263 | /// <param name="helpArgs"></param> | ||
264 | public virtual void ShowHelp(string[] helpArgs) | ||
265 | { | ||
266 | if (helpArgs.Length == 0) | ||
267 | { | ||
268 | Notice(""); | ||
269 | // TODO: not yet implemented | ||
270 | //Notice("help [command] - display general help or specific command help. Try help help for more info."); | ||
271 | Notice("quit - equivalent to shutdown."); | ||
272 | |||
273 | Notice("set log level [level] - change the console logging level only. For example, off or debug."); | ||
274 | Notice("show info - show server information (e.g. startup path)."); | ||
275 | |||
276 | if (m_stats != null) | ||
277 | Notice("show stats - show statistical information for this server"); | ||
278 | |||
279 | Notice("show threads - list tracked threads"); | ||
280 | Notice("show uptime - show server startup time and uptime."); | ||
281 | Notice("show version - show server version."); | ||
282 | Notice("shutdown - shutdown the server.\n"); | ||
283 | |||
284 | return; | ||
285 | } | ||
256 | } | 286 | } |
257 | 287 | ||
258 | /// <summary> | 288 | /// <summary> |