aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/MessagingServer
diff options
context:
space:
mode:
authorlbsa712009-02-12 09:53:12 +0000
committerlbsa712009-02-12 09:53:12 +0000
commit801da4346aeb3c08969c4845f5c595135a64470a (patch)
tree2f06e24c72e0d513c8e4c6aa9b75cd2c7b50f393 /OpenSim/Grid/MessagingServer
parentThanks Kitto Flora for a patch that adds automatic min fly height to ODE - Ma... (diff)
downloadopensim-SC-801da4346aeb3c08969c4845f5c595135a64470a.zip
opensim-SC-801da4346aeb3c08969c4845f5c595135a64470a.tar.gz
opensim-SC-801da4346aeb3c08969c4845f5c595135a64470a.tar.bz2
opensim-SC-801da4346aeb3c08969c4845f5c595135a64470a.tar.xz
* optimized usings.
Diffstat (limited to 'OpenSim/Grid/MessagingServer')
-rw-r--r--OpenSim/Grid/MessagingServer/Main.cs3
-rw-r--r--OpenSim/Grid/MessagingServer/MessageService.cs10
-rw-r--r--OpenSim/Grid/MessagingServer/PresenceBackreferenceEntry.cs2
-rw-r--r--OpenSim/Grid/MessagingServer/PresenceInformer.cs2
-rw-r--r--OpenSim/Grid/MessagingServer/PresenceService.cs4
-rw-r--r--OpenSim/Grid/MessagingServer/UserManager.cs8
-rw-r--r--OpenSim/Grid/MessagingServer/XMPPHTTPService.cs3
7 files changed, 8 insertions, 24 deletions
diff --git a/OpenSim/Grid/MessagingServer/Main.cs b/OpenSim/Grid/MessagingServer/Main.cs
index 13f52ab..2f63ee9 100644
--- a/OpenSim/Grid/MessagingServer/Main.cs
+++ b/OpenSim/Grid/MessagingServer/Main.cs
@@ -28,12 +28,9 @@
28using System; 28using System;
29using System.IO; 29using System.IO;
30using System.Reflection; 30using System.Reflection;
31using OpenMetaverse;
32using log4net; 31using log4net;
33using log4net.Config; 32using log4net.Config;
34
35using OpenSim.Framework; 33using OpenSim.Framework;
36using OpenSim.Framework.Communications.Cache;
37using OpenSim.Framework.Console; 34using OpenSim.Framework.Console;
38using OpenSim.Framework.Servers; 35using OpenSim.Framework.Servers;
39 36
diff --git a/OpenSim/Grid/MessagingServer/MessageService.cs b/OpenSim/Grid/MessagingServer/MessageService.cs
index 7a4a47f..36f8b91 100644
--- a/OpenSim/Grid/MessagingServer/MessageService.cs
+++ b/OpenSim/Grid/MessagingServer/MessageService.cs
@@ -29,13 +29,15 @@ using System;
29using System.Collections; 29using System.Collections;
30using System.Collections.Generic; 30using System.Collections.Generic;
31using System.Net; 31using System.Net;
32using System.Threading;
33using System.Reflection; 32using System.Reflection;
34using OpenMetaverse; 33using System.Threading;
34using System.Timers;
35using log4net; 35using log4net;
36using Nwc.XmlRpc; 36using Nwc.XmlRpc;
37using OpenMetaverse;
37using OpenSim.Data; 38using OpenSim.Data;
38using OpenSim.Framework; 39using OpenSim.Framework;
40using Timer=System.Timers.Timer;
39 41
40namespace OpenSim.Grid.MessagingServer 42namespace OpenSim.Grid.MessagingServer
41{ 43{
@@ -52,7 +54,7 @@ namespace OpenSim.Grid.MessagingServer
52 // a dictionary of all current regions this server knows about 54 // a dictionary of all current regions this server knows about
53 private Dictionary<ulong, RegionProfileData> m_regionInfoCache = new Dictionary<ulong,RegionProfileData>(); 55 private Dictionary<ulong, RegionProfileData> m_regionInfoCache = new Dictionary<ulong,RegionProfileData>();
54 56
55 private System.Timers.Timer reconnectTimer = new System.Timers.Timer(300000); // 5 mins 57 private Timer reconnectTimer = new Timer(300000); // 5 mins
56 58
57 public MessageService(MessageServerConfig cfg) 59 public MessageService(MessageServerConfig cfg)
58 { 60 {
@@ -502,7 +504,7 @@ namespace OpenSim.Grid.MessagingServer
502 return regionProfile; 504 return regionProfile;
503 } 505 }
504 506
505 public void registerWithUserServer(object sender, System.Timers.ElapsedEventArgs e) 507 public void registerWithUserServer(object sender, ElapsedEventArgs e)
506 { 508 {
507 registerWithUserServer(); 509 registerWithUserServer();
508 } 510 }
diff --git a/OpenSim/Grid/MessagingServer/PresenceBackreferenceEntry.cs b/OpenSim/Grid/MessagingServer/PresenceBackreferenceEntry.cs
index 7ea1ac7..08566bb 100644
--- a/OpenSim/Grid/MessagingServer/PresenceBackreferenceEntry.cs
+++ b/OpenSim/Grid/MessagingServer/PresenceBackreferenceEntry.cs
@@ -25,9 +25,7 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System;
29using System.Collections.Generic; 28using System.Collections.Generic;
30using System.Text;
31using OpenMetaverse; 29using OpenMetaverse;
32 30
33namespace OpenSim.Grid.MessagingServer 31namespace OpenSim.Grid.MessagingServer
diff --git a/OpenSim/Grid/MessagingServer/PresenceInformer.cs b/OpenSim/Grid/MessagingServer/PresenceInformer.cs
index 39fcadb..20342ab 100644
--- a/OpenSim/Grid/MessagingServer/PresenceInformer.cs
+++ b/OpenSim/Grid/MessagingServer/PresenceInformer.cs
@@ -26,8 +26,8 @@
26 */ 26 */
27 27
28using System.Collections; 28using System.Collections;
29using System.Reflection;
30using System.Net; 29using System.Net;
30using System.Reflection;
31using log4net; 31using log4net;
32using Nwc.XmlRpc; 32using Nwc.XmlRpc;
33using OpenSim.Data; 33using OpenSim.Data;
diff --git a/OpenSim/Grid/MessagingServer/PresenceService.cs b/OpenSim/Grid/MessagingServer/PresenceService.cs
index df5f687..d8cb755 100644
--- a/OpenSim/Grid/MessagingServer/PresenceService.cs
+++ b/OpenSim/Grid/MessagingServer/PresenceService.cs
@@ -25,10 +25,6 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System;
29using System.Collections.Generic;
30using System.Text;
31
32namespace OpenSim.Grid.MessagingServer 28namespace OpenSim.Grid.MessagingServer
33{ 29{
34 class PresenceService 30 class PresenceService
diff --git a/OpenSim/Grid/MessagingServer/UserManager.cs b/OpenSim/Grid/MessagingServer/UserManager.cs
index fc8f703..4b07df7 100644
--- a/OpenSim/Grid/MessagingServer/UserManager.cs
+++ b/OpenSim/Grid/MessagingServer/UserManager.cs
@@ -25,17 +25,9 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System;
29using System.Collections;
30using System.Collections.Generic;
31using System.Reflection;
32using System.Text.RegularExpressions;
33using OpenMetaverse; 28using OpenMetaverse;
34using log4net;
35using Nwc.XmlRpc;
36using OpenSim.Framework; 29using OpenSim.Framework;
37using OpenSim.Framework.Communications; 30using OpenSim.Framework.Communications;
38using OpenSim.Framework.Servers;
39 31
40namespace OpenSim.Grid.MessagingServer 32namespace OpenSim.Grid.MessagingServer
41{ 33{
diff --git a/OpenSim/Grid/MessagingServer/XMPPHTTPService.cs b/OpenSim/Grid/MessagingServer/XMPPHTTPService.cs
index 9d3f2bf..87647cd 100644
--- a/OpenSim/Grid/MessagingServer/XMPPHTTPService.cs
+++ b/OpenSim/Grid/MessagingServer/XMPPHTTPService.cs
@@ -27,10 +27,9 @@
27 27
28using System; 28using System;
29using System.IO; 29using System.IO;
30using System.Net;
31using System.Reflection; 30using System.Reflection;
32using OpenMetaverse;
33using log4net; 31using log4net;
32using OpenMetaverse;
34using OpenSim.Framework.Servers; 33using OpenSim.Framework.Servers;
35 34
36namespace OpenSim.Grid.MessagingServer 35namespace OpenSim.Grid.MessagingServer