aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandManager.cs
diff options
context:
space:
mode:
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