mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
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:
@@ -84,7 +84,7 @@ namespace OpenSim.Grid.UserServer
|
||||
|
||||
public OpenUser_Main()
|
||||
{
|
||||
m_console = new ConsoleBase("User");
|
||||
m_console = new LocalConsole("User");
|
||||
MainConsole.Instance = m_console;
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace OpenSim.Grid.UserServer
|
||||
|
||||
m_httpServer = new BaseHttpServer(Cfg.HttpPort);
|
||||
|
||||
RegisterInterface<ConsoleBase>(m_console);
|
||||
RegisterInterface<CommandConsole>(m_console);
|
||||
RegisterInterface<UserConfig>(Cfg);
|
||||
|
||||
//Should be in modules?
|
||||
|
||||
Reference in New Issue
Block a user