mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +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:
@@ -47,7 +47,7 @@ namespace pCampBot
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
protected ConsoleBase m_console;
|
||||
protected CommandConsole m_console;
|
||||
protected List<PhysicsBot> m_lBot;
|
||||
protected Thread[] m_td;
|
||||
protected bool m_verbose = true;
|
||||
@@ -206,9 +206,9 @@ namespace pCampBot
|
||||
/// Standard CreateConsole routine
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
protected ConsoleBase CreateConsole()
|
||||
protected CommandConsole CreateConsole()
|
||||
{
|
||||
return new ConsoleBase("Region");
|
||||
return new LocalConsole("Region");
|
||||
}
|
||||
|
||||
private void HandleShutdown(string module, string[] cmd)
|
||||
|
||||
Reference in New Issue
Block a user