From 12daa3c3d9731c67ebd0459dc79b81366514c855 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 2 Oct 2014 23:18:21 +0100 Subject: refactor: Move LLUDPServer console commands into their own class. --- OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs') 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 /// manner (not throwing an exception when the remote side resets the /// connection). This call is ignored on Mono where the flag is not /// necessary - public void StartInbound(int recvBufferSize, bool asyncPacketHandling) + public virtual void StartInbound(int recvBufferSize, bool asyncPacketHandling) { m_asyncPacketHandling = asyncPacketHandling; @@ -185,14 +185,14 @@ namespace OpenMetaverse /// /// Start outbound UDP packet handling. /// - public void StartOutbound() + public virtual void StartOutbound() { m_log.DebugFormat("[UDPBASE]: Starting outbound UDP loop"); IsRunningOutbound = true; } - public void StopInbound() + public virtual void StopInbound() { if (IsRunningInbound) { @@ -203,14 +203,14 @@ namespace OpenMetaverse } } - public void StopOutbound() + public virtual void StopOutbound() { m_log.DebugFormat("[UDPBASE]: Stopping outbound UDP loop"); IsRunningOutbound = false; } - protected virtual bool EnablePools() + public virtual bool EnablePools() { if (!UsePools) { @@ -224,7 +224,7 @@ namespace OpenMetaverse return false; } - protected virtual bool DisablePools() + public virtual bool DisablePools() { if (UsePools) { -- cgit v1.1