diff options
author | lbsa71 | 2007-07-03 14:37:29 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-03 14:37:29 +0000 |
commit | 9b6b6d05d45cf0f754a0b26bf6240ef50be66563 (patch) | |
tree | 8d72120aac2184c5ed4c5ab5f6b673ef496a0803 /OpenSim/Region/Communications | |
parent | * Completed conceptual LlsdMethod - everything resides in SimpleApp pending g... (diff) | |
download | opensim-SC-9b6b6d05d45cf0f754a0b26bf6240ef50be66563.zip opensim-SC-9b6b6d05d45cf0f754a0b26bf6240ef50be66563.tar.gz opensim-SC-9b6b6d05d45cf0f754a0b26bf6240ef50be66563.tar.bz2 opensim-SC-9b6b6d05d45cf0f754a0b26bf6240ef50be66563.tar.xz |
* Optimized usings (the 'LL ate my scripts' commit)
* added some licensing info
Diffstat (limited to 'OpenSim/Region/Communications')
9 files changed, 26 insertions, 54 deletions
diff --git a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs index 7c7c389..5d6ede8 100644 --- a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs +++ b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs | |||
@@ -25,15 +25,8 @@ | |||
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 | */ |
28 | using System; | ||
29 | using System.Collections; | ||
30 | using System.Collections.Generic; | ||
31 | using System.Text; | ||
32 | using libsecondlife; | ||
33 | using OpenSim.Framework; | ||
34 | using OpenSim.Framework.Interfaces; | ||
35 | using OpenSim.Framework.Types; | ||
36 | using OpenSim.Framework.Communications; | 28 | using OpenSim.Framework.Communications; |
29 | using OpenSim.Framework.Types; | ||
37 | 30 | ||
38 | namespace OpenSim.Region.Communications.Local | 31 | namespace OpenSim.Region.Communications.Local |
39 | { | 32 | { |
diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs index 26834be..43bdd03 100644 --- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs +++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs | |||
@@ -25,13 +25,11 @@ | |||
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 | */ |
28 | using System; | ||
29 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
30 | using System.Text; | ||
31 | using libsecondlife; | 29 | using libsecondlife; |
32 | using OpenSim.Framework.Types; | ||
33 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
34 | using OpenSim.Framework.Communications; | 31 | using OpenSim.Framework.Communications; |
32 | using OpenSim.Framework.Types; | ||
35 | 33 | ||
36 | namespace OpenSim.Region.Communications.Local | 34 | namespace OpenSim.Region.Communications.Local |
37 | { | 35 | { |
@@ -163,7 +161,7 @@ namespace OpenSim.Region.Communications.Local | |||
163 | /// <param name="agentID"></param> | 161 | /// <param name="agentID"></param> |
164 | /// <param name="position"></param> | 162 | /// <param name="position"></param> |
165 | /// <returns></returns> | 163 | /// <returns></returns> |
166 | public bool ExpectAvatarCrossing(ulong regionHandle, libsecondlife.LLUUID agentID, libsecondlife.LLVector3 position) | 164 | public bool ExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position) |
167 | { | 165 | { |
168 | if (this.regionHosts.ContainsKey(regionHandle)) | 166 | if (this.regionHosts.ContainsKey(regionHandle)) |
169 | { | 167 | { |
diff --git a/OpenSim/Region/Communications/Local/LocalUserServices.cs b/OpenSim/Region/Communications/Local/LocalUserServices.cs index b441a8d..592b36c 100644 --- a/OpenSim/Region/Communications/Local/LocalUserServices.cs +++ b/OpenSim/Region/Communications/Local/LocalUserServices.cs | |||
@@ -1,17 +1,11 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections; | 2 | using libsecondlife; |
3 | using System.Collections.Generic; | ||
4 | using System.Text; | ||
5 | |||
6 | using OpenSim.Framework.Communications; | 3 | using OpenSim.Framework.Communications; |
7 | //using OpenSim.Framework.User; | ||
8 | using OpenSim.Framework.UserManagement; | ||
9 | using OpenSim.Framework.Data; | 4 | using OpenSim.Framework.Data; |
10 | using OpenSim.Framework.Types; | 5 | using OpenSim.Framework.Types; |
6 | using OpenSim.Framework.UserManagement; | ||
11 | using OpenSim.Framework.Utilities; | 7 | using OpenSim.Framework.Utilities; |
12 | 8 | ||
13 | using libsecondlife; | ||
14 | |||
15 | namespace OpenSim.Region.Communications.Local | 9 | namespace OpenSim.Region.Communications.Local |
16 | { | 10 | { |
17 | public class LocalUserServices : UserManagerBase, IUserServices | 11 | public class LocalUserServices : UserManagerBase, IUserServices |
diff --git a/OpenSim/Region/Communications/Local/Properties/AssemblyInfo.cs b/OpenSim/Region/Communications/Local/Properties/AssemblyInfo.cs index 1eb7107..9afb75e 100644 --- a/OpenSim/Region/Communications/Local/Properties/AssemblyInfo.cs +++ b/OpenSim/Region/Communications/Local/Properties/AssemblyInfo.cs | |||
@@ -1,7 +1,5 @@ | |||
1 | using System.Reflection; | 1 | using System.Reflection; |
2 | using System.Runtime.CompilerServices; | ||
3 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
4 | |||
5 | // General Information about an assembly is controlled through the following | 3 | // General Information about an assembly is controlled through the following |
6 | // set of attributes. Change these attribute values to modify the information | 4 | // set of attributes. Change these attribute values to modify the information |
7 | // associated with an assembly. | 5 | // associated with an assembly. |
diff --git a/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs index 870f577..0a0847e 100644 --- a/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs +++ b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs | |||
@@ -1,8 +1,6 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenSim.Framework.Types; | ||
5 | using OpenSim.Framework.Communications; | 1 | using OpenSim.Framework.Communications; |
2 | using OpenSim.Framework.Types; | ||
3 | |||
6 | namespace OpenSim.Region.Communications.OGS1 | 4 | namespace OpenSim.Region.Communications.OGS1 |
7 | { | 5 | { |
8 | public class CommunicationsOGS1 : CommunicationsManager | 6 | public class CommunicationsOGS1 : CommunicationsManager |
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 977b131..1706c6d 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -1,19 +1,17 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | ||
3 | using System.Collections; | 2 | using System.Collections; |
4 | using System.Text; | 3 | using System.Collections.Generic; |
4 | using System.Net; | ||
5 | using System.Runtime.Remoting; | 5 | using System.Runtime.Remoting; |
6 | using System.Runtime.Remoting.Channels; | 6 | using System.Runtime.Remoting.Channels; |
7 | using System.Runtime.Remoting.Channels.Tcp; | 7 | using System.Runtime.Remoting.Channels.Tcp; |
8 | 8 | using libsecondlife; | |
9 | using OpenSim.Framework.Servers; | 9 | using Nwc.XmlRpc; |
10 | using OpenSim.Framework; | 10 | using OpenSim.Framework; |
11 | using OpenSim.Framework.Types; | ||
12 | using OpenSim.Framework.Communications; | 11 | using OpenSim.Framework.Communications; |
13 | 12 | using OpenSim.Framework.Console; | |
14 | using Nwc.XmlRpc; | 13 | using OpenSim.Framework.Servers; |
15 | using libsecondlife; | 14 | using OpenSim.Framework.Types; |
16 | using System.Net; | ||
17 | 15 | ||
18 | namespace OpenSim.Region.Communications.OGS1 | 16 | namespace OpenSim.Region.Communications.OGS1 |
19 | { | 17 | { |
@@ -52,7 +50,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
52 | if (GridRespData.ContainsKey("error")) | 50 | if (GridRespData.ContainsKey("error")) |
53 | { | 51 | { |
54 | string errorstring = (string)GridRespData["error"]; | 52 | string errorstring = (string)GridRespData["error"]; |
55 | OpenSim.Framework.Console.MainLog.Instance.Error("Unable to connect to grid: " + errorstring); | 53 | MainLog.Instance.Error("Unable to connect to grid: " + errorstring); |
56 | return null; | 54 | return null; |
57 | } | 55 | } |
58 | 56 | ||
@@ -103,7 +101,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
103 | 101 | ||
104 | public RegionInfo RequestNeighbourInfo(ulong regionHandle) | 102 | public RegionInfo RequestNeighbourInfo(ulong regionHandle) |
105 | { | 103 | { |
106 | OpenSim.Framework.Console.MainLog.Instance.Warn("Unimplemented - RequestNeighbourInfo()"); | 104 | MainLog.Instance.Warn("Unimplemented - RequestNeighbourInfo()"); |
107 | return null; | 105 | return null; |
108 | } | 106 | } |
109 | 107 | ||
@@ -184,7 +182,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
184 | } | 182 | } |
185 | else | 183 | else |
186 | { | 184 | { |
187 | OpenSim.Framework.Console.MainLog.Instance.Error("ExpectUser() - Unknown region " + ((ulong)requestData["regionhandle"]).ToString()); | 185 | MainLog.Instance.Error("ExpectUser() - Unknown region " + ((ulong)requestData["regionhandle"]).ToString()); |
188 | } | 186 | } |
189 | 187 | ||
190 | return new XmlRpcResponse(); | 188 | return new XmlRpcResponse(); |
@@ -215,7 +213,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
215 | return false; | 213 | return false; |
216 | } | 214 | } |
217 | 215 | ||
218 | public bool ExpectAvatarCrossing(ulong regionHandle, libsecondlife.LLUUID agentID, libsecondlife.LLVector3 position) | 216 | public bool ExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position) |
219 | { | 217 | { |
220 | if (this.listeners.ContainsKey(regionHandle)) | 218 | if (this.listeners.ContainsKey(regionHandle)) |
221 | { | 219 | { |
@@ -239,7 +237,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
239 | return false; | 237 | return false; |
240 | } | 238 | } |
241 | 239 | ||
242 | public bool IncomingArrival(ulong regionHandle, libsecondlife.LLUUID agentID, libsecondlife.LLVector3 position) | 240 | public bool IncomingArrival(ulong regionHandle, LLUUID agentID, LLVector3 position) |
243 | { | 241 | { |
244 | if (this.listeners.ContainsKey(regionHandle)) | 242 | if (this.listeners.ContainsKey(regionHandle)) |
245 | { | 243 | { |
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InterSimComms.cs b/OpenSim/Region/Communications/OGS1/OGS1InterSimComms.cs index 51b33e9..f514a29 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1InterSimComms.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1InterSimComms.cs | |||
@@ -1,12 +1,11 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using libsecondlife; |
3 | using System.Text; | ||
4 | using OpenSim.Framework.Types; | 3 | using OpenSim.Framework.Types; |
5 | using OpenSim.Framework.Communications; | 4 | |
6 | namespace OpenSim.Region.Communications.OGS1 | 5 | namespace OpenSim.Region.Communications.OGS1 |
7 | { | 6 | { |
8 | public delegate bool InformRegionChild(ulong regionHandle, AgentCircuitData agentData); | 7 | public delegate bool InformRegionChild(ulong regionHandle, AgentCircuitData agentData); |
9 | public delegate bool ExpectArrival(ulong regionHandle, libsecondlife.LLUUID agentID, libsecondlife.LLVector3 position); | 8 | public delegate bool ExpectArrival(ulong regionHandle, LLUUID agentID, LLVector3 position); |
10 | 9 | ||
11 | public sealed class InterRegionSingleton | 10 | public sealed class InterRegionSingleton |
12 | { | 11 | { |
@@ -40,7 +39,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
40 | return false; | 39 | return false; |
41 | } | 40 | } |
42 | 41 | ||
43 | public bool ExpectAvatarCrossing(ulong regionHandle, libsecondlife.LLUUID agentID, libsecondlife.LLVector3 position) | 42 | public bool ExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position) |
44 | { | 43 | { |
45 | if (OnArrival != null) | 44 | if (OnArrival != null) |
46 | { | 45 | { |
@@ -62,7 +61,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
62 | return InterRegionSingleton.Instance.InformRegionOfChildAgent(regionHandle, agentData); | 61 | return InterRegionSingleton.Instance.InformRegionOfChildAgent(regionHandle, agentData); |
63 | } | 62 | } |
64 | 63 | ||
65 | public bool ExpectAvatarCrossing(ulong regionHandle, libsecondlife.LLUUID agentID, libsecondlife.LLVector3 position) | 64 | public bool ExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position) |
66 | { | 65 | { |
67 | return InterRegionSingleton.Instance.ExpectAvatarCrossing(regionHandle, agentID, position); | 66 | return InterRegionSingleton.Instance.ExpectAvatarCrossing(regionHandle, agentID, position); |
68 | } | 67 | } |
diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs index 6d428d0..7c7db03 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | |||
@@ -1,13 +1,9 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections; | 2 | using System.Collections; |
3 | using System.Collections.Generic; | ||
4 | using System.Text; | ||
5 | using OpenSim.Framework.Types; | ||
6 | using OpenSim.Framework.Communications; | ||
7 | using OpenSim.Framework.Data; | ||
8 | using libsecondlife; | 3 | using libsecondlife; |
9 | |||
10 | using Nwc.XmlRpc; | 4 | using Nwc.XmlRpc; |
5 | using OpenSim.Framework.Communications; | ||
6 | using OpenSim.Framework.Data; | ||
11 | 7 | ||
12 | namespace OpenSim.Region.Communications.OGS1 | 8 | namespace OpenSim.Region.Communications.OGS1 |
13 | { | 9 | { |
diff --git a/OpenSim/Region/Communications/OGS1/Properties/AssemblyInfo.cs b/OpenSim/Region/Communications/OGS1/Properties/AssemblyInfo.cs index 0c6f965..41f811a 100644 --- a/OpenSim/Region/Communications/OGS1/Properties/AssemblyInfo.cs +++ b/OpenSim/Region/Communications/OGS1/Properties/AssemblyInfo.cs | |||
@@ -1,7 +1,5 @@ | |||
1 | using System.Reflection; | 1 | using System.Reflection; |
2 | using System.Runtime.CompilerServices; | ||
3 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
4 | |||
5 | // General Information about an assembly is controlled through the following | 3 | // General Information about an assembly is controlled through the following |
6 | // set of attributes. Change these attribute values to modify the information | 4 | // set of attributes. Change these attribute values to modify the information |
7 | // associated with an assembly. | 5 | // associated with an assembly. |