aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Console/RemoteConsole.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/RemoteConsole.cs b/OpenSim/Framework/Console/RemoteConsole.cs
index f254300..71f075e 100644
--- a/OpenSim/Framework/Console/RemoteConsole.cs
+++ b/OpenSim/Framework/Console/RemoteConsole.cs
@@ -31,6 +31,8 @@ using System.Diagnostics;
31using System.Reflection; 31using System.Reflection;
32using System.Text; 32using System.Text;
33using System.Threading; 33using System.Threading;
34using Nini.Config;
35using OpenSim.Framework.Servers.Interfaces;
34using log4net; 36using log4net;
35 37
36namespace OpenSim.Framework.Console 38namespace OpenSim.Framework.Console
@@ -41,10 +43,23 @@ namespace OpenSim.Framework.Console
41 { 43 {
42 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 44 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
43 45
46 private IHttpServer m_Server = null;
47 private IConfigSource m_Config = null;
48
44 public RemoteConsole(string defaultPrompt) : base(defaultPrompt) 49 public RemoteConsole(string defaultPrompt) : base(defaultPrompt)
45 { 50 {
46 } 51 }
47 52
53 public void ReadConfig(IConfigSource config)
54 {
55 m_Config = config;
56 }
57
58 public void SetServer(IHttpServer server)
59 {
60 m_Server = server;
61 }
62
48 public override void Output(string text) 63 public override void Output(string text)
49 { 64 {
50 } 65 }