diff options
author | UbitUmarov | 2016-08-11 08:38:39 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-11 08:38:39 +0100 |
commit | 9aa2484f0d33b8fcce2810bd36b70c9ceb61c2f5 (patch) | |
tree | 45d6c5c58589c1b18bd63493ff68e0ddca1041b2 /OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | |
parent | stop renewing xml cache entries expires. Let them expire or grid changes wil... (diff) | |
download | opensim-SC-9aa2484f0d33b8fcce2810bd36b70c9ceb61c2f5.zip opensim-SC-9aa2484f0d33b8fcce2810bd36b70c9ceb61c2f5.tar.gz opensim-SC-9aa2484f0d33b8fcce2810bd36b70c9ceb61c2f5.tar.bz2 opensim-SC-9aa2484f0d33b8fcce2810bd36b70c9ceb61c2f5.tar.xz |
to do that don't use slideexpiration; add cap event ChatterBoxForceClose
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs index 6d548ad..b9038bd 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | |||
@@ -372,7 +372,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
372 | 372 | ||
373 | caps.RegisterPollHandler( | 373 | caps.RegisterPollHandler( |
374 | "EventQueueGet", | 374 | "EventQueueGet", |
375 | new PollServiceEventArgs(null, GenerateEqgCapPath(eventQueueGetUUID), HasEvents, GetEvents, NoEvents, agentID, SERVER_EQ_TIME_NO_EVENTS)); | 375 | new PollServiceEventArgs(null, GenerateEqgCapPath(eventQueueGetUUID), HasEvents, GetEvents, NoEvents, Drop, agentID, SERVER_EQ_TIME_NO_EVENTS)); |
376 | } | 376 | } |
377 | 377 | ||
378 | public bool HasEvents(UUID requestID, UUID agentID) | 378 | public bool HasEvents(UUID requestID, UUID agentID) |
@@ -577,6 +577,14 @@ namespace OpenSim.Region.ClientStack.Linden | |||
577 | //m_log.InfoFormat("########### eq ChatterBoxSessionAgentListUpdates #############\n{0}", item); | 577 | //m_log.InfoFormat("########### eq ChatterBoxSessionAgentListUpdates #############\n{0}", item); |
578 | } | 578 | } |
579 | 579 | ||
580 | public void ChatterBoxForceClose(UUID toAgent, UUID sessionID, string reason) | ||
581 | { | ||
582 | OSD item = EventQueueHelper.ChatterBoxForceClose(sessionID, reason); | ||
583 | |||
584 | Enqueue(item, toAgent); | ||
585 | //m_log.InfoFormat("########### eq ChatterBoxSessionAgentListUpdates #############\n{0}", item); | ||
586 | } | ||
587 | |||
580 | public void ParcelProperties(ParcelPropertiesMessage parcelPropertiesMessage, UUID avatarID) | 588 | public void ParcelProperties(ParcelPropertiesMessage parcelPropertiesMessage, UUID avatarID) |
581 | { | 589 | { |
582 | OSD item = EventQueueHelper.ParcelProperties(parcelPropertiesMessage); | 590 | OSD item = EventQueueHelper.ParcelProperties(parcelPropertiesMessage); |