aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-13 12:50:59 -0700
committerJohn Hurliman2009-10-13 12:50:59 -0700
commitc893761319f7e61d13b2d2301180d0f227fde1a9 (patch)
treeda652a4c57810aee11f50458d09736bb820a4048 /OpenSim/Region/Framework/Scenes/Scene.cs
parentAvoid checking m_clients collection twice when a UseCircuitCode packet is rec... (diff)
downloadopensim-SC_OLD-c893761319f7e61d13b2d2301180d0f227fde1a9.zip
opensim-SC_OLD-c893761319f7e61d13b2d2301180d0f227fde1a9.tar.gz
opensim-SC_OLD-c893761319f7e61d13b2d2301180d0f227fde1a9.tar.bz2
opensim-SC_OLD-c893761319f7e61d13b2d2301180d0f227fde1a9.tar.xz
* Unregister event handlers in LLUDPServer when a client logs out and disconnects
* Move ViewerEffect handling to Scene.PacketHandlers * Removing the unused CloseAllAgents function * Trimming ClientManager down. This class needs to be reworked to keep LLUDP circuit codes from intruding into the abstract OpenSim core code
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs15
1 files changed, 2 insertions, 13 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index cffb23c..e81b07b 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2572,6 +2572,7 @@ namespace OpenSim.Region.Framework.Scenes
2572 public virtual void SubscribeToClientNetworkEvents(IClientAPI client) 2572 public virtual void SubscribeToClientNetworkEvents(IClientAPI client)
2573 { 2573 {
2574 client.OnNetworkStatsUpdate += StatsReporter.AddPacketsStats; 2574 client.OnNetworkStatsUpdate += StatsReporter.AddPacketsStats;
2575 client.OnViewerEffect += ProcessViewerEffect;
2575 } 2576 }
2576 2577
2577 protected virtual void UnsubscribeToClientEvents(IClientAPI client) 2578 protected virtual void UnsubscribeToClientEvents(IClientAPI client)
@@ -2726,11 +2727,9 @@ namespace OpenSim.Region.Framework.Scenes
2726 public virtual void UnSubscribeToClientNetworkEvents(IClientAPI client) 2727 public virtual void UnSubscribeToClientNetworkEvents(IClientAPI client)
2727 { 2728 {
2728 client.OnNetworkStatsUpdate -= StatsReporter.AddPacketsStats; 2729 client.OnNetworkStatsUpdate -= StatsReporter.AddPacketsStats;
2730 client.OnViewerEffect -= ProcessViewerEffect;
2729 } 2731 }
2730 2732
2731
2732
2733
2734 /// <summary> 2733 /// <summary>
2735 /// Teleport an avatar to their home region 2734 /// Teleport an avatar to their home region
2736 /// </summary> 2735 /// </summary>
@@ -3053,16 +3052,6 @@ namespace OpenSim.Region.Framework.Scenes
3053 } 3052 }
3054 3053
3055 /// <summary> 3054 /// <summary>
3056 /// Closes all endpoints with the circuitcode provided.
3057 /// </summary>
3058 /// <param name="circuitcode">Circuit Code of the endpoint to close</param>
3059 public override void CloseAllAgents(uint circuitcode)
3060 {
3061 // Called by ClientView to kill all circuit codes
3062 ClientManager.CloseAllAgents(circuitcode);
3063 }
3064
3065 /// <summary>
3066 /// Inform all other ScenePresences on this Scene that someone else has changed position on the minimap. 3055 /// Inform all other ScenePresences on this Scene that someone else has changed position on the minimap.
3067 /// </summary> 3056 /// </summary>
3068 public void NotifyMyCoarseLocationChange() 3057 public void NotifyMyCoarseLocationChange()