aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorMelanie Thielker2009-04-10 21:08:33 +0000
committerMelanie Thielker2009-04-10 21:08:33 +0000
commit8902923b12718399edf7b6bf39ea0ff37002ae24 (patch)
treec9653ecff6ca48935438ea944e695e1503f7ffc5 /OpenSim/Region/ScriptEngine/Shared
parentExpose the XMLRPC listener port on the IXMLRPC interface to allow (diff)
downloadopensim-SC_OLD-8902923b12718399edf7b6bf39ea0ff37002ae24.zip
opensim-SC_OLD-8902923b12718399edf7b6bf39ea0ff37002ae24.tar.gz
opensim-SC_OLD-8902923b12718399edf7b6bf39ea0ff37002ae24.tar.bz2
opensim-SC_OLD-8902923b12718399edf7b6bf39ea0ff37002ae24.tar.xz
Introduce IXmlRpcRouter, an interface that allows registering XMLRPC
UUIDs with a central marshaller for grids, or publish the ULS for objects elsewhere.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index d3543ad..f4e7990 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6108,6 +6108,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6108 if (xmlrpcMod.IsEnabled()) 6108 if (xmlrpcMod.IsEnabled())
6109 { 6109 {
6110 UUID channelID = xmlrpcMod.OpenXMLRPCChannel(m_localID, m_itemID, UUID.Zero); 6110 UUID channelID = xmlrpcMod.OpenXMLRPCChannel(m_localID, m_itemID, UUID.Zero);
6111 IXmlRpcRouter xmlRpcRouter = m_ScriptEngine.World.RequestModuleInterface<IXmlRpcRouter>();
6112 if (xmlRpcRouter != null)
6113 xmlRpcRouter.RegisterNewReceiver(m_ScriptEngine.ScriptModule, channelID, m_host.UUID, m_itemID, "http://"+System.Environment.MachineName+":"+xmlrpcMod.Port.ToString()+"/");
6111 object[] resobj = new object[] { new LSL_Integer(1), new LSL_String(channelID.ToString()), new LSL_String(UUID.Zero.ToString()), new LSL_String(String.Empty), new LSL_Integer(0), new LSL_String(String.Empty) }; 6114 object[] resobj = new object[] { new LSL_Integer(1), new LSL_String(channelID.ToString()), new LSL_String(UUID.Zero.ToString()), new LSL_String(String.Empty), new LSL_Integer(0), new LSL_String(String.Empty) };
6112 m_ScriptEngine.PostScriptEvent(m_itemID, new EventParams( 6115 m_ScriptEngine.PostScriptEvent(m_itemID, new EventParams(
6113 "remote_data", resobj, 6116 "remote_data", resobj,