diff options
author | Melanie Thielker | 2009-04-10 21:08:33 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-04-10 21:08:33 +0000 |
commit | 8902923b12718399edf7b6bf39ea0ff37002ae24 (patch) | |
tree | c9653ecff6ca48935438ea944e695e1503f7ffc5 /OpenSim/Region/ScriptEngine/DotNetEngine | |
parent | Expose the XMLRPC listener port on the IXMLRPC interface to allow (diff) | |
download | opensim-SC-8902923b12718399edf7b6bf39ea0ff37002ae24.zip opensim-SC-8902923b12718399edf7b6bf39ea0ff37002ae24.tar.gz opensim-SC-8902923b12718399edf7b6bf39ea0ff37002ae24.tar.bz2 opensim-SC-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/DotNetEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs index b850227..34a7c7a 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs | |||
@@ -96,6 +96,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
96 | get { return "ScriptEngine.DotNetEngine"; } | 96 | get { return "ScriptEngine.DotNetEngine"; } |
97 | } | 97 | } |
98 | 98 | ||
99 | public IScriptModule ScriptModule | ||
100 | { | ||
101 | get { return this; } | ||
102 | } | ||
103 | |||
99 | public event ScriptRemoved OnScriptRemoved; | 104 | public event ScriptRemoved OnScriptRemoved; |
100 | public event ObjectRemoved OnObjectRemoved; | 105 | public event ObjectRemoved OnObjectRemoved; |
101 | 106 | ||
@@ -212,6 +217,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
212 | p.EventName, p.DetectParams, p.Params); | 217 | p.EventName, p.DetectParams, p.Params); |
213 | } | 218 | } |
214 | 219 | ||
220 | public bool PostScriptEvent(UUID itemID, string name, Object[] p) | ||
221 | { | ||
222 | return PostScriptEvent(itemID, new EventParams(name, p, new DetectParams[0])); | ||
223 | } | ||
224 | |||
215 | public DetectParams GetDetectParams(UUID itemID, int number) | 225 | public DetectParams GetDetectParams(UUID itemID, int number) |
216 | { | 226 | { |
217 | uint localID = m_ScriptManager.GetLocalID(itemID); | 227 | uint localID = m_ScriptManager.GetLocalID(itemID); |