29 using OpenSim.Region.Framework.Interfaces;
30 using OpenSim.Region.CoreModules.Scripting.XMLRPC;
31 using OpenSim.Region.ScriptEngine.Interfaces;
32 using OpenSim.Region.ScriptEngine.Shared;
33 using OpenSim.Region.ScriptEngine.Shared.Api;
35 namespace OpenSim.
Region.ScriptEngine.Shared.Api.Plugins
43 m_CmdManager = CmdManager;
48 if (m_CmdManager.m_ScriptEngine.World == null)
51 IXMLRPC xmlrpc = m_CmdManager.m_ScriptEngine.World.RequestModuleInterface<
IXMLRPC>();
59 xmlrpc.RemoveCompletedRequest(rInfo.GetMessageID());
62 object[] resobj =
new object[]
68 rInfo.GetMessageID().ToString()),
78 "remote_data", resobj,
88 while (srdInfo != null)
90 xmlrpc.RemoveCompletedSRDRequest(srdInfo.GetReqID());
93 object[] resobj =
new object[]
107 "remote_data", resobj,
bool PostScriptEvent(UUID itemID, EventParams parms)
Post an event to a single script
Handles LSL commands that takes long time and returns an event, for example timers, HTTP requests, etc.
XmlRequest(AsyncCommandManager CmdManager)
IServiceRequest GetNextCompletedSRDRequest()
An interface for a script API module to communicate with the engine it's running under ...
void CheckXMLRPCRequests()
AsyncCommandManager m_CmdManager
IXmlRpcRequestInfo GetNextCompletedRequest()
Holds all the data required to execute a scripting event.