Prebuild changes to allow the console to reference the http server

This commit is contained in:
Melanie Thielker
2009-05-04 15:04:24 +00:00
parent 509ec2637b
commit f80ba373fa
2 changed files with 37 additions and 20 deletions

View File

@@ -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)
{
}