aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-10-02 23:18:21 +0100
committerJustin Clark-Casey (justincc)2014-11-25 23:18:39 +0000
commit12daa3c3d9731c67ebd0459dc79b81366514c855 (patch)
treefc3b43c336ed7d1967da27214360dcaa3f2a5904 /OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs
parentrefactor: rename "debug lludp throttle status" to "debug lludp throttle get" ... (diff)
downloadopensim-SC-12daa3c3d9731c67ebd0459dc79b81366514c855.zip
opensim-SC-12daa3c3d9731c67ebd0459dc79b81366514c855.tar.gz
opensim-SC-12daa3c3d9731c67ebd0459dc79b81366514c855.tar.bz2
opensim-SC-12daa3c3d9731c67ebd0459dc79b81366514c855.tar.xz
refactor: Move LLUDPServer console commands into their own class.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs
index 88494be..5323d5a 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs
@@ -135,7 +135,7 @@ namespace OpenMetaverse
135 /// manner (not throwing an exception when the remote side resets the 135 /// manner (not throwing an exception when the remote side resets the
136 /// connection). This call is ignored on Mono where the flag is not 136 /// connection). This call is ignored on Mono where the flag is not
137 /// necessary</remarks> 137 /// necessary</remarks>
138 public void StartInbound(int recvBufferSize, bool asyncPacketHandling) 138 public virtual void StartInbound(int recvBufferSize, bool asyncPacketHandling)
139 { 139 {
140 m_asyncPacketHandling = asyncPacketHandling; 140 m_asyncPacketHandling = asyncPacketHandling;
141 141
@@ -185,14 +185,14 @@ namespace OpenMetaverse
185 /// <summary> 185 /// <summary>
186 /// Start outbound UDP packet handling. 186 /// Start outbound UDP packet handling.
187 /// </summary> 187 /// </summary>
188 public void StartOutbound() 188 public virtual void StartOutbound()
189 { 189 {
190 m_log.DebugFormat("[UDPBASE]: Starting outbound UDP loop"); 190 m_log.DebugFormat("[UDPBASE]: Starting outbound UDP loop");
191 191
192 IsRunningOutbound = true; 192 IsRunningOutbound = true;
193 } 193 }
194 194
195 public void StopInbound() 195 public virtual void StopInbound()
196 { 196 {
197 if (IsRunningInbound) 197 if (IsRunningInbound)
198 { 198 {
@@ -203,14 +203,14 @@ namespace OpenMetaverse
203 } 203 }
204 } 204 }
205 205
206 public void StopOutbound() 206 public virtual void StopOutbound()
207 { 207 {
208 m_log.DebugFormat("[UDPBASE]: Stopping outbound UDP loop"); 208 m_log.DebugFormat("[UDPBASE]: Stopping outbound UDP loop");
209 209
210 IsRunningOutbound = false; 210 IsRunningOutbound = false;
211 } 211 }
212 212
213 protected virtual bool EnablePools() 213 public virtual bool EnablePools()
214 { 214 {
215 if (!UsePools) 215 if (!UsePools)
216 { 216 {
@@ -224,7 +224,7 @@ namespace OpenMetaverse
224 return false; 224 return false;
225 } 225 }
226 226
227 protected virtual bool DisablePools() 227 public virtual bool DisablePools()
228 { 228 {
229 if (UsePools) 229 if (UsePools)
230 { 230 {