diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Console/RemoteConsole.cs | 15 |
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; | |||
31 | using System.Reflection; | 31 | using System.Reflection; |
32 | using System.Text; | 32 | using System.Text; |
33 | using System.Threading; | 33 | using System.Threading; |
34 | using Nini.Config; | ||
35 | using OpenSim.Framework.Servers.Interfaces; | ||
34 | using log4net; | 36 | using log4net; |
35 | 37 | ||
36 | namespace OpenSim.Framework.Console | 38 | namespace 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 | } |