diff options
author | Dr Scofield | 2008-11-03 17:17:57 +0000 |
---|---|---|
committer | Dr Scofield | 2008-11-03 17:17:57 +0000 |
commit | add42f5e9b2d58a4978d4aab4440d5cc2d255a12 (patch) | |
tree | 1277fc6668ca6e34d58f7c137690f9c885106f71 /OpenSim/Region/Environment/Modules/Avatar/Chat/XIRCConnector.cs | |
parent | dropping old IRCBridgeModule. (diff) | |
download | opensim-SC_OLD-add42f5e9b2d58a4978d4aab4440d5cc2d255a12.zip opensim-SC_OLD-add42f5e9b2d58a4978d4aab4440d5cc2d255a12.tar.gz opensim-SC_OLD-add42f5e9b2d58a4978d4aab4440d5cc2d255a12.tar.bz2 opensim-SC_OLD-add42f5e9b2d58a4978d4aab4440d5cc2d255a12.tar.xz |
completing move to refactored multi-channel capable IRCBridgeModule
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs (renamed from OpenSim/Region/Environment/Modules/Avatar/Chat/XIRCConnector.cs) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/XIRCConnector.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs index f6a07b8..b9422f3 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Chat/XIRCConnector.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs | |||
@@ -42,7 +42,7 @@ using OpenSim.Region.Environment.Scenes; | |||
42 | 42 | ||
43 | namespace OpenSim.Region.Environment.Modules.Avatar.Chat | 43 | namespace OpenSim.Region.Environment.Modules.Avatar.Chat |
44 | { | 44 | { |
45 | public class XIRCConnector | 45 | public class IRCConnector |
46 | { | 46 | { |
47 | 47 | ||
48 | #region Global (static) state | 48 | #region Global (static) state |
@@ -64,13 +64,13 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat | |||
64 | 64 | ||
65 | // List of configured connectors | 65 | // List of configured connectors |
66 | 66 | ||
67 | private static List<XIRCConnector> m_connectors = new List<XIRCConnector>(); | 67 | private static List<IRCConnector> m_connectors = new List<IRCConnector>(); |
68 | 68 | ||
69 | // Watchdog state | 69 | // Watchdog state |
70 | 70 | ||
71 | private static System.Timers.Timer m_watchdog = null; | 71 | private static System.Timers.Timer m_watchdog = null; |
72 | 72 | ||
73 | static XIRCConnector() | 73 | static IRCConnector() |
74 | { | 74 | { |
75 | m_log.DebugFormat("[IRC-Connector]: Static initialization started"); | 75 | m_log.DebugFormat("[IRC-Connector]: Static initialization started"); |
76 | m_watchdog = new System.Timers.Timer(WD_INTERVAL); | 76 | m_watchdog = new System.Timers.Timer(WD_INTERVAL); |
@@ -168,7 +168,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat | |||
168 | 168 | ||
169 | #region connector instance management | 169 | #region connector instance management |
170 | 170 | ||
171 | internal XIRCConnector(ChannelState cs) | 171 | internal IRCConnector(ChannelState cs) |
172 | { | 172 | { |
173 | 173 | ||
174 | // Prepare network interface | 174 | // Prepare network interface |
@@ -225,7 +225,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat | |||
225 | 225 | ||
226 | } | 226 | } |
227 | 227 | ||
228 | ~XIRCConnector() | 228 | ~IRCConnector() |
229 | { | 229 | { |
230 | m_watchdog.Stop(); | 230 | m_watchdog.Stop(); |
231 | Close(); | 231 | Close(); |
@@ -797,7 +797,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat | |||
797 | _pdk_ = (_pdk_+1)%PING_PERIOD; // cycle the ping trigger | 797 | _pdk_ = (_pdk_+1)%PING_PERIOD; // cycle the ping trigger |
798 | _icc_++; // increment the inter-consecutive-connect-delay counter | 798 | _icc_++; // increment the inter-consecutive-connect-delay counter |
799 | 799 | ||
800 | foreach (XIRCConnector connector in m_connectors) | 800 | foreach (IRCConnector connector in m_connectors) |
801 | { | 801 | { |
802 | if (connector.Enabled) | 802 | if (connector.Enabled) |
803 | { | 803 | { |