diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/XMLRPCModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/XMLRPCModule.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/XMLRPCModule.cs b/OpenSim/Region/Environment/Modules/XMLRPCModule.cs index f13b2bb..481ba3f 100644 --- a/OpenSim/Region/Environment/Modules/XMLRPCModule.cs +++ b/OpenSim/Region/Environment/Modules/XMLRPCModule.cs | |||
@@ -33,10 +33,10 @@ using System.Threading; | |||
33 | using libsecondlife; | 33 | using libsecondlife; |
34 | using Nini.Config; | 34 | using Nini.Config; |
35 | using Nwc.XmlRpc; | 35 | using Nwc.XmlRpc; |
36 | using OpenSim.Framework.Console; | ||
36 | using OpenSim.Framework.Servers; | 37 | using OpenSim.Framework.Servers; |
37 | using OpenSim.Region.Environment.Interfaces; | 38 | using OpenSim.Region.Environment.Interfaces; |
38 | using OpenSim.Region.Environment.Scenes; | 39 | using OpenSim.Region.Environment.Scenes; |
39 | using OpenSim.Framework.Console; | ||
40 | 40 | ||
41 | /***************************************************** | 41 | /***************************************************** |
42 | * | 42 | * |
@@ -116,15 +116,16 @@ namespace OpenSim.Region.Environment.Modules | |||
116 | 116 | ||
117 | public void PostInitialise() | 117 | public void PostInitialise() |
118 | { | 118 | { |
119 | if ( IsEnabled() ) | 119 | if (IsEnabled()) |
120 | { | 120 | { |
121 | m_openChannels = new Dictionary<LLUUID, RPCChannelInfo>(); | 121 | m_openChannels = new Dictionary<LLUUID, RPCChannelInfo>(); |
122 | m_pendingResponse = new Dictionary<LLUUID, RPCRequestInfo>(); | 122 | m_pendingResponse = new Dictionary<LLUUID, RPCRequestInfo>(); |
123 | 123 | ||
124 | // Start http server | 124 | // Start http server |
125 | // Attach xmlrpc handlers | 125 | // Attach xmlrpc handlers |
126 | m_log.Verbose("REMOTE_DATA", "Starting XMLRPC Server on port " + m_remoteDataPort + " for llRemoteData commands."); | 126 | m_log.Verbose("REMOTE_DATA", |
127 | BaseHttpServer httpServer = new BaseHttpServer((uint)m_remoteDataPort); | 127 | "Starting XMLRPC Server on port " + m_remoteDataPort + " for llRemoteData commands."); |
128 | BaseHttpServer httpServer = new BaseHttpServer((uint) m_remoteDataPort); | ||
128 | httpServer.AddXmlRPCHandler("llRemoteData", XmlRpcRemoteData); | 129 | httpServer.AddXmlRPCHandler("llRemoteData", XmlRpcRemoteData); |
129 | httpServer.Start(); | 130 | httpServer.Start(); |
130 | } | 131 | } |