diff options
author | Justin Clarke Casey | 2008-02-04 18:52:24 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-02-04 18:52:24 +0000 |
commit | baefa05b575b28e1ed08670e9c937ca307f09269 (patch) | |
tree | 8f9703391fe86df4ecc1008a140e1ea760c1ae1b /OpenSim/Grid/ScriptServer/ScriptServerMain.cs | |
parent | Change sim command from "stats" to "show stats" for consistency (diff) | |
download | opensim-SC-baefa05b575b28e1ed08670e9c937ca307f09269.zip opensim-SC-baefa05b575b28e1ed08670e9c937ca307f09269.tar.gz opensim-SC-baefa05b575b28e1ed08670e9c937ca307f09269.tar.bz2 opensim-SC-baefa05b575b28e1ed08670e9c937ca307f09269.tar.xz |
* Rebase all current servers on common abstract BaseOpenSimServer class
* The immediate upshot is that "show uptime" from the console will now show uptime on all server types (user, asset, grid, etc)
* DEV: This refactoring is far from complete - only just enough to makes the "show uptime" command common accross the servers. More is needed, but in this case it's somewhat like eating cabbage, which I prefer not to do all at once
Diffstat (limited to 'OpenSim/Grid/ScriptServer/ScriptServerMain.cs')
-rw-r--r-- | OpenSim/Grid/ScriptServer/ScriptServerMain.cs | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/OpenSim/Grid/ScriptServer/ScriptServerMain.cs b/OpenSim/Grid/ScriptServer/ScriptServerMain.cs index 5757be4..421467d 100644 --- a/OpenSim/Grid/ScriptServer/ScriptServerMain.cs +++ b/OpenSim/Grid/ScriptServer/ScriptServerMain.cs | |||
@@ -31,20 +31,20 @@ using libsecondlife; | |||
31 | using Nini.Config; | 31 | using Nini.Config; |
32 | using OpenSim.Framework; | 32 | using OpenSim.Framework; |
33 | using OpenSim.Framework.Console; | 33 | using OpenSim.Framework.Console; |
34 | using OpenSim.Framework.Servers; | ||
34 | using OpenSim.Grid.ScriptServer.ScriptServer; | 35 | using OpenSim.Grid.ScriptServer.ScriptServer; |
35 | using OpenSim.Region.ScriptEngine.Common; | 36 | using OpenSim.Region.ScriptEngine.Common; |
36 | using OpenSim.Region.ScriptEngine.Common.TRPC; | 37 | using OpenSim.Region.ScriptEngine.Common.TRPC; |
37 | 38 | ||
38 | namespace OpenSim.Grid.ScriptServer | 39 | namespace OpenSim.Grid.ScriptServer |
39 | { | 40 | { |
40 | public class ScriptServerMain : conscmd_callback | 41 | public class ScriptServerMain : BaseOpenSimServer, conscmd_callback |
41 | { | 42 | { |
42 | // | 43 | // |
43 | // Root object. Creates objects used. | 44 | // Root object. Creates objects used. |
44 | // | 45 | // |
45 | private int listenPort = 8010; | 46 | private int listenPort = 8010; |
46 | private readonly string m_logFilename = ("scriptserver.log"); | 47 | private readonly string m_logFilename = ("scriptserver.log"); |
47 | private LogBase m_log; | ||
48 | 48 | ||
49 | // TEMP | 49 | // TEMP |
50 | public static ScriptServerInterfaces.ScriptEngine Engine; | 50 | public static ScriptServerInterfaces.ScriptEngine Engine; |
@@ -111,13 +111,5 @@ namespace OpenSim.Grid.ScriptServer | |||
111 | 111 | ||
112 | return new LogBase((Path.Combine(Util.logDir(), m_logFilename)), "ScriptServer", this, true); | 112 | return new LogBase((Path.Combine(Util.logDir(), m_logFilename)), "ScriptServer", this, true); |
113 | } | 113 | } |
114 | |||
115 | public void RunCmd(string command, string[] cmdparams) | ||
116 | { | ||
117 | } | ||
118 | |||
119 | public void Show(string ShowWhat) | ||
120 | { | ||
121 | } | ||
122 | } | 114 | } |
123 | } \ No newline at end of file | 115 | } |