aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2009-05-04 12:15:55 +0000
committerMelanie Thielker2009-05-04 12:15:55 +0000
commit1b877234dada9f14cebc486cc426db892beae152 (patch)
tree762ee7172c66a78b643f4cef0eed946314816403 /OpenSim/Region
parentThanks BlueWall for Mantis #3578 - adding Hypergrid connection to JSON Stats (diff)
downloadopensim-SC_OLD-1b877234dada9f14cebc486cc426db892beae152.zip
opensim-SC_OLD-1b877234dada9f14cebc486cc426db892beae152.tar.gz
opensim-SC_OLD-1b877234dada9f14cebc486cc426db892beae152.tar.bz2
opensim-SC_OLD-1b877234dada9f14cebc486cc426db892beae152.tar.xz
Refactor. Make ConsoleBase a true base class. Create CommandConsole as a simple
console capable of processing commands. Create LocalConsole as a console that uses cursor control and context help. Precursor to a distributed console system for the new grid services. No functional change intended :)
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index d3941d6..5ba377b 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -92,8 +92,10 @@ namespace OpenSim
92 //GCSettings.LatencyMode = GCLatencyMode.Batch; 92 //GCSettings.LatencyMode = GCLatencyMode.Batch;
93 //m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString()); 93 //m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString());
94 94
95 m_console = new ConsoleBase("Region"); 95 if (m_gui) // Driven by external GUI
96 m_console.SetGuiMode(m_gui); 96 m_console = new CommandConsole("Region");
97 else
98 m_console = new LocalConsole("Region");
97 MainConsole.Instance = m_console; 99 MainConsole.Instance = m_console;
98 100
99 RegisterConsoleCommands(); 101 RegisterConsoleCommands();