mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
Prebuild changes to allow the console to reference the http server
This commit is contained in:
@@ -31,6 +31,8 @@ using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using Nini.Config;
|
||||
using OpenSim.Framework.Servers.Interfaces;
|
||||
using log4net;
|
||||
|
||||
namespace OpenSim.Framework.Console
|
||||
@@ -41,10 +43,23 @@ namespace OpenSim.Framework.Console
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private IHttpServer m_Server = null;
|
||||
private IConfigSource m_Config = null;
|
||||
|
||||
public RemoteConsole(string defaultPrompt) : base(defaultPrompt)
|
||||
{
|
||||
}
|
||||
|
||||
public void ReadConfig(IConfigSource config)
|
||||
{
|
||||
m_Config = config;
|
||||
}
|
||||
|
||||
public void SetServer(IHttpServer server)
|
||||
{
|
||||
m_Server = server;
|
||||
}
|
||||
|
||||
public override void Output(string text)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user