aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/RegionCommsListener.cs
diff options
context:
space:
mode:
authorMW2007-11-05 13:58:44 +0000
committerMW2007-11-05 13:58:44 +0000
commit73fbacea1fe18873fab175d82189a1becb0f8e10 (patch)
tree4078f63bb77e7a512a7069b209ca5be569882b52 /OpenSim/Framework/RegionCommsListener.cs
parentprim cuts in ODE (diff)
downloadopensim-SC_OLD-73fbacea1fe18873fab175d82189a1becb0f8e10.zip
opensim-SC_OLD-73fbacea1fe18873fab175d82189a1becb0f8e10.tar.gz
opensim-SC_OLD-73fbacea1fe18873fab175d82189a1becb0f8e10.tar.bz2
opensim-SC_OLD-73fbacea1fe18873fab175d82189a1becb0f8e10.tar.xz
Started to cleanup/close down childagent connections when a user teleports. As the client will not close old childagent connections without being told explicitly to do so by each region the connection is to. Currently only implemented in standalone mode. ( the TellRegionToCloseChildConnection( ) in OGS1GridServices.cs needs implementing for grid mode, and the inter region .net remoting added for the new messages).
hopefully fixed the echo bug in chatmodule.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/RegionCommsListener.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Framework/RegionCommsListener.cs b/OpenSim/Framework/RegionCommsListener.cs
index ee0d503..84d1b02 100644
--- a/OpenSim/Framework/RegionCommsListener.cs
+++ b/OpenSim/Framework/RegionCommsListener.cs
@@ -38,6 +38,7 @@ namespace OpenSim.Framework
38 public event AgentCrossing OnAvatarCrossingIntoRegion; 38 public event AgentCrossing OnAvatarCrossingIntoRegion;
39 public event UpdateNeighbours OnNeighboursUpdate; 39 public event UpdateNeighbours OnNeighboursUpdate;
40 public event AcknowledgeAgentCross OnAcknowledgeAgentCrossed; 40 public event AcknowledgeAgentCross OnAcknowledgeAgentCrossed;
41 public event CloseAgentConnection OnCloseAgentConnection;
41 42
42 /// <summary> 43 /// <summary>
43 /// 44 ///
@@ -76,6 +77,14 @@ namespace OpenSim.Framework
76 return false; 77 return false;
77 } 78 }
78 79
80 public virtual void TriggerCloseAgentConnection(ulong regionHandle, LLUUID agentID)
81 {
82 if (OnCloseAgentConnection != null)
83 {
84 OnCloseAgentConnection(regionHandle, agentID);
85 }
86 }
87
79 /// <summary> 88 /// <summary>
80 /// 89 ///
81 /// </summary> 90 /// </summary>