aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandManager.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-05-29 13:55:02 +0000
committerCharles Krinke2008-05-29 13:55:02 +0000
commita84456c2391e9fa7c5ade8244bf979118a3d0e29 (patch)
tree171bfef98548d185ed65643b23ec0dc6b528b5d6 /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandManager.cs
parentcleaning up returned XML REST doclet (no more xsi, xsd) (diff)
downloadopensim-SC-a84456c2391e9fa7c5ade8244bf979118a3d0e29.zip
opensim-SC-a84456c2391e9fa7c5ade8244bf979118a3d0e29.tar.gz
opensim-SC-a84456c2391e9fa7c5ade8244bf979118a3d0e29.tar.bz2
opensim-SC-a84456c2391e9fa7c5ade8244bf979118a3d0e29.tar.xz
Mantis#1411. Thank you kindly for Dataserver.cs and a patch
that adds function stub to request region info by name and adds llRequestSimulatorData() and the dataserver event
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandManager.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandManager.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandManager.cs
index 2a0ed37..64f6970 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandManager.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandManager.cs
@@ -50,6 +50,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
50 public Listener m_Listener; 50 public Listener m_Listener;
51 public SensorRepeat m_SensorRepeat; 51 public SensorRepeat m_SensorRepeat;
52 public XmlRequest m_XmlRequest; 52 public XmlRequest m_XmlRequest;
53 public Dataserver m_Dataserver;
53 54
54 public AsyncCommandManager(ScriptEngine _ScriptEngine) 55 public AsyncCommandManager(ScriptEngine _ScriptEngine)
55 { 56 {
@@ -62,6 +63,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
62 m_Listener = new Listener(this); 63 m_Listener = new Listener(this);
63 m_SensorRepeat = new SensorRepeat(this); 64 m_SensorRepeat = new SensorRepeat(this);
64 m_XmlRequest = new XmlRequest(this); 65 m_XmlRequest = new XmlRequest(this);
66 m_Dataserver = new Dataserver(this);
65 67
66 StartThread(); 68 StartThread();
67 } 69 }
@@ -142,6 +144,8 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
142 m_Listener.CheckListeners(); 144 m_Listener.CheckListeners();
143 // Check Sensors 145 // Check Sensors
144 m_SensorRepeat.CheckSenseRepeaterEvents(); 146 m_SensorRepeat.CheckSenseRepeaterEvents();
147 // Check dataserver
148 m_Dataserver.ExpireRequests();
145 } 149 }
146 150
147 /// <summary> 151 /// <summary>
@@ -171,6 +175,9 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
171 // Remove Sensors 175 // Remove Sensors
172 m_SensorRepeat.UnSetSenseRepeaterEvents(localID, itemID); 176 m_SensorRepeat.UnSetSenseRepeaterEvents(localID, itemID);
173 177
178 // Remove queries
179 m_Dataserver.RemoveEvents(localID, itemID);
180
174 } 181 }
175 182
176 183