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 :)
This commit is contained in:
Melanie Thielker
2009-05-04 12:15:55 +00:00
parent 8a8fe65526
commit 1b877234da
16 changed files with 991 additions and 819 deletions

View File

@@ -92,8 +92,10 @@ namespace OpenSim
//GCSettings.LatencyMode = GCLatencyMode.Batch;
//m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString());
m_console = new ConsoleBase("Region");
m_console.SetGuiMode(m_gui);
if (m_gui) // Driven by external GUI
m_console = new CommandConsole("Region");
else
m_console = new LocalConsole("Region");
MainConsole.Instance = m_console;
RegisterConsoleCommands();