diff options
Diffstat (limited to 'OpenSim/Framework/RegionCommsListener.cs')
-rw-r--r-- | OpenSim/Framework/RegionCommsListener.cs | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/OpenSim/Framework/RegionCommsListener.cs b/OpenSim/Framework/RegionCommsListener.cs index 4d9411d..22750b9 100644 --- a/OpenSim/Framework/RegionCommsListener.cs +++ b/OpenSim/Framework/RegionCommsListener.cs | |||
@@ -46,15 +46,15 @@ namespace OpenSim.Framework | |||
46 | public event RegionUp OnRegionUp; | 46 | public event RegionUp OnRegionUp; |
47 | public event ChildAgentUpdate OnChildAgentUpdate; | 47 | public event ChildAgentUpdate OnChildAgentUpdate; |
48 | 48 | ||
49 | private ExpectUserDelegate handler001 = null; // OnExpectUser | 49 | private ExpectUserDelegate handlerExpectUser = null; // OnExpectUser |
50 | private ExpectPrimDelegate handler002 = null; // OnExpectPrim; | 50 | private ExpectPrimDelegate handlerExpectPrim = null; // OnExpectPrim; |
51 | private GenericCall2 handler003 = null; // OnExpectChildAgent; | 51 | private GenericCall2 handlerExpectChildAgent = null; // OnExpectChildAgent; |
52 | private AgentCrossing handler004 = null; // OnAvatarCrossingIntoRegion; | 52 | private AgentCrossing handlerAvatarCrossingIntoRegion = null; // OnAvatarCrossingIntoRegion; |
53 | private PrimCrossing handler005 = null; // OnPrimCrossingIntoRegion; | 53 | private PrimCrossing handlerPrimCrossingIntoRegion = null; // OnPrimCrossingIntoRegion; |
54 | private UpdateNeighbours handler006 = null; // OnNeighboursUpdate; | 54 | private UpdateNeighbours handlerNeighboursUpdate = null; // OnNeighboursUpdate; |
55 | private AcknowledgeAgentCross handler007 = null; // OnAcknowledgeAgentCrossed; | 55 | private AcknowledgeAgentCross handlerAcknowledgeAgentCrossed = null; // OnAcknowledgeAgentCrossed; |
56 | private AcknowledgePrimCross handler008 = null; // OnAcknowledgePrimCrossed; | 56 | private AcknowledgePrimCross handlerAcknowledgePrimCrossed = null; // OnAcknowledgePrimCrossed; |
57 | private CloseAgentConnection handler009 = null; // OnCloseAgentConnection; | 57 | private CloseAgentConnection handlerCloseAgentConnection = null; // OnCloseAgentConnection; |
58 | private RegionUp handlerRegionUp = null; // OnRegionUp; | 58 | private RegionUp handlerRegionUp = null; // OnRegionUp; |
59 | private ChildAgentUpdate handlerChildAgentUpdate = null; // OnChildAgentUpdate; | 59 | private ChildAgentUpdate handlerChildAgentUpdate = null; // OnChildAgentUpdate; |
60 | 60 | ||
@@ -68,10 +68,10 @@ namespace OpenSim.Framework | |||
68 | /// <returns></returns> | 68 | /// <returns></returns> |
69 | public virtual bool TriggerExpectUser(ulong regionHandle, AgentCircuitData agent) | 69 | public virtual bool TriggerExpectUser(ulong regionHandle, AgentCircuitData agent) |
70 | { | 70 | { |
71 | handler001 = OnExpectUser; | 71 | handlerExpectUser = OnExpectUser; |
72 | if (handler001 != null) | 72 | if (handlerExpectUser != null) |
73 | { | 73 | { |
74 | handler001(regionHandle, agent); | 74 | handlerExpectUser(regionHandle, agent); |
75 | return true; | 75 | return true; |
76 | } | 76 | } |
77 | 77 | ||
@@ -81,10 +81,10 @@ namespace OpenSim.Framework | |||
81 | 81 | ||
82 | public virtual bool TriggerExpectPrim(ulong regionHandle, LLUUID primID, string objData) | 82 | public virtual bool TriggerExpectPrim(ulong regionHandle, LLUUID primID, string objData) |
83 | { | 83 | { |
84 | handler002 = OnExpectPrim; | 84 | handlerExpectPrim = OnExpectPrim; |
85 | if (handler002 != null) | 85 | if (handlerExpectPrim != null) |
86 | { | 86 | { |
87 | handler002(regionHandle, primID, objData); | 87 | handlerExpectPrim(regionHandle, primID, objData); |
88 | return true; | 88 | return true; |
89 | } | 89 | } |
90 | return false; | 90 | return false; |
@@ -115,10 +115,10 @@ namespace OpenSim.Framework | |||
115 | public virtual bool TriggerExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position, | 115 | public virtual bool TriggerExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position, |
116 | bool isFlying) | 116 | bool isFlying) |
117 | { | 117 | { |
118 | handler004 = OnAvatarCrossingIntoRegion; | 118 | handlerAvatarCrossingIntoRegion = OnAvatarCrossingIntoRegion; |
119 | if (handler004 != null) | 119 | if (handlerAvatarCrossingIntoRegion != null) |
120 | { | 120 | { |
121 | handler004(regionHandle, agentID, position, isFlying); | 121 | handlerAvatarCrossingIntoRegion(regionHandle, agentID, position, isFlying); |
122 | return true; | 122 | return true; |
123 | } | 123 | } |
124 | return false; | 124 | return false; |
@@ -127,10 +127,10 @@ namespace OpenSim.Framework | |||
127 | public virtual bool TriggerExpectPrimCrossing(ulong regionHandle, LLUUID primID, LLVector3 position, | 127 | public virtual bool TriggerExpectPrimCrossing(ulong regionHandle, LLUUID primID, LLVector3 position, |
128 | bool isPhysical) | 128 | bool isPhysical) |
129 | { | 129 | { |
130 | handler005 = OnPrimCrossingIntoRegion; | 130 | handlerPrimCrossingIntoRegion = OnPrimCrossingIntoRegion; |
131 | if (handler005 != null) | 131 | if (handlerPrimCrossingIntoRegion != null) |
132 | { | 132 | { |
133 | handler005(regionHandle, primID, position, isPhysical); | 133 | handlerPrimCrossingIntoRegion(regionHandle, primID, position, isPhysical); |
134 | return true; | 134 | return true; |
135 | } | 135 | } |
136 | return false; | 136 | return false; |
@@ -138,10 +138,10 @@ namespace OpenSim.Framework | |||
138 | 138 | ||
139 | public virtual bool TriggerAcknowledgeAgentCrossed(ulong regionHandle, LLUUID agentID) | 139 | public virtual bool TriggerAcknowledgeAgentCrossed(ulong regionHandle, LLUUID agentID) |
140 | { | 140 | { |
141 | handler007 = OnAcknowledgeAgentCrossed; | 141 | handlerAcknowledgeAgentCrossed = OnAcknowledgeAgentCrossed; |
142 | if (handler007 != null) | 142 | if (handlerAcknowledgeAgentCrossed != null) |
143 | { | 143 | { |
144 | handler007(regionHandle, agentID); | 144 | handlerAcknowledgeAgentCrossed(regionHandle, agentID); |
145 | return true; | 145 | return true; |
146 | } | 146 | } |
147 | return false; | 147 | return false; |
@@ -149,10 +149,10 @@ namespace OpenSim.Framework | |||
149 | 149 | ||
150 | public virtual bool TriggerAcknowledgePrimCrossed(ulong regionHandle, LLUUID primID) | 150 | public virtual bool TriggerAcknowledgePrimCrossed(ulong regionHandle, LLUUID primID) |
151 | { | 151 | { |
152 | handler008 = OnAcknowledgePrimCrossed; | 152 | handlerAcknowledgePrimCrossed = OnAcknowledgePrimCrossed; |
153 | if (handler008 != null) | 153 | if (handlerAcknowledgePrimCrossed != null) |
154 | { | 154 | { |
155 | handler008(regionHandle, primID); | 155 | handlerAcknowledgePrimCrossed(regionHandle, primID); |
156 | return true; | 156 | return true; |
157 | } | 157 | } |
158 | return false; | 158 | return false; |
@@ -160,10 +160,10 @@ namespace OpenSim.Framework | |||
160 | 160 | ||
161 | public virtual bool TriggerCloseAgentConnection(ulong regionHandle, LLUUID agentID) | 161 | public virtual bool TriggerCloseAgentConnection(ulong regionHandle, LLUUID agentID) |
162 | { | 162 | { |
163 | handler009 = OnCloseAgentConnection; | 163 | handlerCloseAgentConnection = OnCloseAgentConnection; |
164 | if (handler009 != null) | 164 | if (handlerCloseAgentConnection != null) |
165 | { | 165 | { |
166 | handler009(regionHandle, agentID); | 166 | handlerCloseAgentConnection(regionHandle, agentID); |
167 | return true; | 167 | return true; |
168 | 168 | ||
169 | } | 169 | } |
@@ -177,10 +177,10 @@ namespace OpenSim.Framework | |||
177 | /// <returns></returns> | 177 | /// <returns></returns> |
178 | public virtual bool TriggerExpectChildAgent() | 178 | public virtual bool TriggerExpectChildAgent() |
179 | { | 179 | { |
180 | handler003 = OnExpectChildAgent; | 180 | handlerExpectChildAgent = OnExpectChildAgent; |
181 | if (handler003 != null) | 181 | if (handlerExpectChildAgent != null) |
182 | { | 182 | { |
183 | handler003(); | 183 | handlerExpectChildAgent(); |
184 | return true; | 184 | return true; |
185 | } | 185 | } |
186 | 186 | ||
@@ -195,10 +195,10 @@ namespace OpenSim.Framework | |||
195 | /// <returns></returns> | 195 | /// <returns></returns> |
196 | public virtual bool TriggerOnNeighboursUpdate(List<RegionInfo> neighbours) | 196 | public virtual bool TriggerOnNeighboursUpdate(List<RegionInfo> neighbours) |
197 | { | 197 | { |
198 | handler006 = OnNeighboursUpdate; | 198 | handlerNeighboursUpdate = OnNeighboursUpdate; |
199 | if (handler006 != null) | 199 | if (handlerNeighboursUpdate != null) |
200 | { | 200 | { |
201 | handler006(neighbours); | 201 | handlerNeighboursUpdate(neighbours); |
202 | return true; | 202 | return true; |
203 | } | 203 | } |
204 | 204 | ||
@@ -207,9 +207,9 @@ namespace OpenSim.Framework | |||
207 | 207 | ||
208 | public bool TriggerTellRegionToCloseChildConnection(ulong regionHandle, LLUUID agentID) | 208 | public bool TriggerTellRegionToCloseChildConnection(ulong regionHandle, LLUUID agentID) |
209 | { | 209 | { |
210 | handler009 = OnCloseAgentConnection; | 210 | handlerCloseAgentConnection = OnCloseAgentConnection; |
211 | if (handler009 != null) | 211 | if (handlerCloseAgentConnection != null) |
212 | return handler009(regionHandle, agentID); | 212 | return handlerCloseAgentConnection(regionHandle, agentID); |
213 | 213 | ||
214 | return false; | 214 | return false; |
215 | } | 215 | } |