diff options
author | Justin Clarke Casey | 2008-05-14 17:03:25 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-05-14 17:03:25 +0000 |
commit | 8fe9943293f7e6230538bb1e661e85fa89217da6 (patch) | |
tree | 4c4a8d61e2a61954a78ba1d45449aa49a1be685f /OpenSim | |
parent | * Applying patch from Melanie to expose godlevel to modules. (diff) | |
download | opensim-SC-8fe9943293f7e6230538bb1e661e85fa89217da6.zip opensim-SC-8fe9943293f7e6230538bb1e661e85fa89217da6.tar.gz opensim-SC-8fe9943293f7e6230538bb1e661e85fa89217da6.tar.bz2 opensim-SC-8fe9943293f7e6230538bb1e661e85fa89217da6.tar.xz |
From: Dr Schofield <hud@zurich.ibm.com>
Rename SearializableRegionInfo to SerializableRegionInfo (class was already named correctly)
Diffstat (limited to 'OpenSim')
6 files changed, 14 insertions, 14 deletions
diff --git a/OpenSim/Framework/Communications/IInterRegionCommunications.cs b/OpenSim/Framework/Communications/IInterRegionCommunications.cs index f018dd6..28b0e12 100644 --- a/OpenSim/Framework/Communications/IInterRegionCommunications.cs +++ b/OpenSim/Framework/Communications/IInterRegionCommunications.cs | |||
@@ -36,7 +36,7 @@ namespace OpenSim.Framework.Communications | |||
36 | void CheckRegion(string address, uint port); | 36 | void CheckRegion(string address, uint port); |
37 | bool InformRegionOfChildAgent(ulong regionHandle, AgentCircuitData agentData); | 37 | bool InformRegionOfChildAgent(ulong regionHandle, AgentCircuitData agentData); |
38 | bool InformRegionOfPrimCrossing(ulong regionHandle, LLUUID primID, string objData, int XMLMethod); | 38 | bool InformRegionOfPrimCrossing(ulong regionHandle, LLUUID primID, string objData, int XMLMethod); |
39 | bool RegionUp(SearializableRegionInfo region, ulong regionhandle); | 39 | bool RegionUp(SerializableRegionInfo region, ulong regionhandle); |
40 | bool ChildAgentUpdate(ulong regionHandle, ChildAgentDataUpdate cAgentData); | 40 | bool ChildAgentUpdate(ulong regionHandle, ChildAgentDataUpdate cAgentData); |
41 | 41 | ||
42 | bool ExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position, bool isFlying); | 42 | bool ExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position, bool isFlying); |
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index 8380633..158ddde 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -233,7 +233,7 @@ namespace OpenSim.Framework | |||
233 | { | 233 | { |
234 | } | 234 | } |
235 | 235 | ||
236 | public RegionInfo(SearializableRegionInfo ConvertFrom) | 236 | public RegionInfo(SerializableRegionInfo ConvertFrom) |
237 | { | 237 | { |
238 | m_regionLocX = ConvertFrom.RegionLocX; | 238 | m_regionLocX = ConvertFrom.RegionLocX; |
239 | m_regionLocY = ConvertFrom.RegionLocY; | 239 | m_regionLocY = ConvertFrom.RegionLocY; |
diff --git a/OpenSim/Framework/SerializableRegionInfo.cs b/OpenSim/Framework/SerializableRegionInfo.cs index a87d5ef..44081b2 100644 --- a/OpenSim/Framework/SerializableRegionInfo.cs +++ b/OpenSim/Framework/SerializableRegionInfo.cs | |||
@@ -33,7 +33,7 @@ using libsecondlife; | |||
33 | namespace OpenSim.Framework | 33 | namespace OpenSim.Framework |
34 | { | 34 | { |
35 | [Serializable] | 35 | [Serializable] |
36 | public class SearializableRegionInfo | 36 | public class SerializableRegionInfo |
37 | { | 37 | { |
38 | public bool m_allow_alternate_ports; | 38 | public bool m_allow_alternate_ports; |
39 | protected string m_externalHostName; | 39 | protected string m_externalHostName; |
@@ -60,11 +60,11 @@ namespace OpenSim.Framework | |||
60 | /// <summary> | 60 | /// <summary> |
61 | /// This is a serializable version of RegionInfo | 61 | /// This is a serializable version of RegionInfo |
62 | /// </summary> | 62 | /// </summary> |
63 | public SearializableRegionInfo() | 63 | public SerializableRegionInfo() |
64 | { | 64 | { |
65 | } | 65 | } |
66 | 66 | ||
67 | public SearializableRegionInfo(RegionInfo ConvertFrom) | 67 | public SerializableRegionInfo(RegionInfo ConvertFrom) |
68 | { | 68 | { |
69 | m_regionLocX = ConvertFrom.RegionLocX; | 69 | m_regionLocX = ConvertFrom.RegionLocX; |
70 | m_regionLocY = ConvertFrom.RegionLocY; | 70 | m_regionLocY = ConvertFrom.RegionLocY; |
@@ -80,7 +80,7 @@ namespace OpenSim.Framework | |||
80 | ServerURI = ConvertFrom.ServerURI; | 80 | ServerURI = ConvertFrom.ServerURI; |
81 | } | 81 | } |
82 | 82 | ||
83 | public SearializableRegionInfo(uint regionLocX, uint regionLocY, IPEndPoint internalEndPoint, string externalUri) | 83 | public SerializableRegionInfo(uint regionLocX, uint regionLocY, IPEndPoint internalEndPoint, string externalUri) |
84 | { | 84 | { |
85 | m_regionLocX = regionLocX; | 85 | m_regionLocX = regionLocX; |
86 | m_regionLocY = regionLocY; | 86 | m_regionLocY = regionLocY; |
@@ -89,7 +89,7 @@ namespace OpenSim.Framework | |||
89 | m_externalHostName = externalUri; | 89 | m_externalHostName = externalUri; |
90 | } | 90 | } |
91 | 91 | ||
92 | public SearializableRegionInfo(uint regionLocX, uint regionLocY, string externalUri, uint port) | 92 | public SerializableRegionInfo(uint regionLocX, uint regionLocY, string externalUri, uint port) |
93 | { | 93 | { |
94 | m_regionLocX = regionLocX; | 94 | m_regionLocX = regionLocX; |
95 | m_regionLocY = regionLocY; | 95 | m_regionLocY = regionLocY; |
diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs index b2550af..39cf911 100644 --- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs +++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs | |||
@@ -227,7 +227,7 @@ namespace OpenSim.Region.Communications.Local | |||
227 | return false; | 227 | return false; |
228 | } | 228 | } |
229 | 229 | ||
230 | public virtual bool RegionUp(SearializableRegionInfo sregion, ulong regionhandle) | 230 | public virtual bool RegionUp(SerializableRegionInfo sregion, ulong regionhandle) |
231 | { | 231 | { |
232 | RegionInfo region = new RegionInfo(sregion); | 232 | RegionInfo region = new RegionInfo(sregion); |
233 | 233 | ||
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 03fd448..fb8dcf6 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -852,9 +852,9 @@ namespace OpenSim.Region.Communications.OGS1 | |||
852 | } | 852 | } |
853 | 853 | ||
854 | // UGLY! | 854 | // UGLY! |
855 | public bool RegionUp(SearializableRegionInfo region, ulong regionhandle) | 855 | public bool RegionUp(SerializableRegionInfo region, ulong regionhandle) |
856 | { | 856 | { |
857 | SearializableRegionInfo regInfo = null; | 857 | SerializableRegionInfo regInfo = null; |
858 | try | 858 | try |
859 | { | 859 | { |
860 | // You may ask why this is in here... | 860 | // You may ask why this is in here... |
@@ -863,7 +863,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
863 | // it's own remoting port! How special. | 863 | // it's own remoting port! How special. |
864 | RegionUpData regiondata = new RegionUpData(region.RegionLocX, region.RegionLocY, region.ExternalHostName, region.InternalEndPoint.Port); | 864 | RegionUpData regiondata = new RegionUpData(region.RegionLocX, region.RegionLocY, region.ExternalHostName, region.InternalEndPoint.Port); |
865 | 865 | ||
866 | region = new SearializableRegionInfo(RequestNeighbourInfo(region.RegionHandle)); | 866 | region = new SerializableRegionInfo(RequestNeighbourInfo(region.RegionHandle)); |
867 | region.RemotingAddress = region.ExternalHostName; | 867 | region.RemotingAddress = region.ExternalHostName; |
868 | region.RemotingPort = NetworkServersInfo.RemotingListenerPort; | 868 | region.RemotingPort = NetworkServersInfo.RemotingListenerPort; |
869 | region.HttpPort = serversInfo.HttpListenerPort; | 869 | region.HttpPort = serversInfo.HttpListenerPort; |
@@ -873,7 +873,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
873 | return true; | 873 | return true; |
874 | } | 874 | } |
875 | 875 | ||
876 | regInfo = new SearializableRegionInfo(RequestNeighbourInfo(regionhandle)); | 876 | regInfo = new SerializableRegionInfo(RequestNeighbourInfo(regionhandle)); |
877 | if (regInfo != null) | 877 | if (regInfo != null) |
878 | { | 878 | { |
879 | // If we're not trying to remote to ourselves. | 879 | // If we're not trying to remote to ourselves. |
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index f922f1f..18ce61a 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | |||
@@ -356,7 +356,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
356 | //RegionUpData regiondata = new RegionUpData(region.RegionLocX, region.RegionLocY, region.ExternalHostName, region.InternalEndPoint.Port); | 356 | //RegionUpData regiondata = new RegionUpData(region.RegionLocX, region.RegionLocY, region.ExternalHostName, region.InternalEndPoint.Port); |
357 | 357 | ||
358 | bool regionAccepted = | 358 | bool regionAccepted = |
359 | m_commsProvider.InterRegion.RegionUp(new SearializableRegionInfo(region), regionhandle); | 359 | m_commsProvider.InterRegion.RegionUp(new SerializableRegionInfo(region), regionhandle); |
360 | 360 | ||
361 | if (regionAccepted) | 361 | if (regionAccepted) |
362 | { | 362 | { |
@@ -399,7 +399,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
399 | } | 399 | } |
400 | } | 400 | } |
401 | 401 | ||
402 | //bool val = m_commsProvider.InterRegion.RegionUp(new SearializableRegionInfo(region)); | 402 | //bool val = m_commsProvider.InterRegion.RegionUp(new SerializableRegionInfo(region)); |
403 | } | 403 | } |
404 | 404 | ||
405 | public delegate void SendChildAgentDataUpdateDelegate(ChildAgentDataUpdate cAgentData, ScenePresence presence); | 405 | public delegate void SendChildAgentDataUpdateDelegate(ChildAgentDataUpdate cAgentData, ScenePresence presence); |