diff options
author | Melanie Thielker | 2009-05-04 12:15:55 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-04 12:15:55 +0000 |
commit | 1b877234dada9f14cebc486cc426db892beae152 (patch) | |
tree | 762ee7172c66a78b643f4cef0eed946314816403 /OpenSim/Grid/UserServer/Main.cs | |
parent | Thanks BlueWall for Mantis #3578 - adding Hypergrid connection to JSON Stats (diff) | |
download | opensim-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/Grid/UserServer/Main.cs')
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index 0a5abd3..d9185cb 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -84,7 +84,7 @@ namespace OpenSim.Grid.UserServer | |||
84 | 84 | ||
85 | public OpenUser_Main() | 85 | public OpenUser_Main() |
86 | { | 86 | { |
87 | m_console = new ConsoleBase("User"); | 87 | m_console = new LocalConsole("User"); |
88 | MainConsole.Instance = m_console; | 88 | MainConsole.Instance = m_console; |
89 | } | 89 | } |
90 | 90 | ||
@@ -126,7 +126,7 @@ namespace OpenSim.Grid.UserServer | |||
126 | 126 | ||
127 | m_httpServer = new BaseHttpServer(Cfg.HttpPort); | 127 | m_httpServer = new BaseHttpServer(Cfg.HttpPort); |
128 | 128 | ||
129 | RegisterInterface<ConsoleBase>(m_console); | 129 | RegisterInterface<CommandConsole>(m_console); |
130 | RegisterInterface<UserConfig>(Cfg); | 130 | RegisterInterface<UserConfig>(Cfg); |
131 | 131 | ||
132 | //Should be in modules? | 132 | //Should be in modules? |