diff options
author | Diva Canto | 2009-09-24 05:48:35 -0700 |
---|---|---|
committer | Diva Canto | 2009-09-24 05:48:35 -0700 |
commit | 2824bbc47b30ab6fb9a12bce3201bb5b79b20bd5 (patch) | |
tree | 419c12ca39f699517fa455339c857d831b3d206c | |
parent | * Send Updated Information Packet to Clients after updating estate settings. (diff) | |
download | opensim-SC-2824bbc47b30ab6fb9a12bce3201bb5b79b20bd5.zip opensim-SC-2824bbc47b30ab6fb9a12bce3201bb5b79b20bd5.tar.gz opensim-SC-2824bbc47b30ab6fb9a12bce3201bb5b79b20bd5.tar.bz2 opensim-SC-2824bbc47b30ab6fb9a12bce3201bb5b79b20bd5.tar.xz |
Changed name of the hyperlink XMLRPC method to linkk-region, so that it doesn't conflict with the existing one.
-rw-r--r-- | OpenSim/Server/Handlers/Grid/HypergridServerConnector.cs | 2 | ||||
-rw-r--r-- | OpenSim/Services/Connectors/Grid/HypergridServiceConnector.cs | 2 | ||||
-rw-r--r-- | OpenSim/Services/GridService/GridService.cs | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Server/Handlers/Grid/HypergridServerConnector.cs b/OpenSim/Server/Handlers/Grid/HypergridServerConnector.cs index b8d9c7d..ad63485 100644 --- a/OpenSim/Server/Handlers/Grid/HypergridServerConnector.cs +++ b/OpenSim/Server/Handlers/Grid/HypergridServerConnector.cs | |||
@@ -53,7 +53,7 @@ namespace OpenSim.Server.Handlers.Grid | |||
53 | public HypergridServiceInConnector(IConfigSource config, IHttpServer server) : | 53 | public HypergridServiceInConnector(IConfigSource config, IHttpServer server) : |
54 | base(config, server) | 54 | base(config, server) |
55 | { | 55 | { |
56 | server.AddXmlRPCHandler("link_region", LinkRegionRequest, false); | 56 | server.AddXmlRPCHandler("linkk_region", LinkRegionRequest, false); |
57 | } | 57 | } |
58 | 58 | ||
59 | /// <summary> | 59 | /// <summary> |
diff --git a/OpenSim/Services/Connectors/Grid/HypergridServiceConnector.cs b/OpenSim/Services/Connectors/Grid/HypergridServiceConnector.cs index 616c2c1..b5e8743 100644 --- a/OpenSim/Services/Connectors/Grid/HypergridServiceConnector.cs +++ b/OpenSim/Services/Connectors/Grid/HypergridServiceConnector.cs | |||
@@ -66,7 +66,7 @@ namespace OpenSim.Services.Connectors.Grid | |||
66 | IList paramList = new ArrayList(); | 66 | IList paramList = new ArrayList(); |
67 | paramList.Add(hash); | 67 | paramList.Add(hash); |
68 | 68 | ||
69 | XmlRpcRequest request = new XmlRpcRequest("link_region", paramList); | 69 | XmlRpcRequest request = new XmlRpcRequest("linkk_region", paramList); |
70 | string uri = "http://" + info.ExternalEndPoint.Address + ":" + info.HttpPort + "/"; | 70 | string uri = "http://" + info.ExternalEndPoint.Address + ":" + info.HttpPort + "/"; |
71 | m_log.Debug("[HGrid]: Linking to " + uri); | 71 | m_log.Debug("[HGrid]: Linking to " + uri); |
72 | XmlRpcResponse response = request.Send(uri, 10000); | 72 | XmlRpcResponse response = request.Send(uri, 10000); |
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index 1b297dc..01ffa1d 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs | |||
@@ -71,7 +71,9 @@ namespace OpenSim.Services.GridService | |||
71 | m_log.WarnFormat("[GRID SERVICE]: Region {0} already registered in scope {1}.", regionInfos.RegionID, scopeID); | 71 | m_log.WarnFormat("[GRID SERVICE]: Region {0} already registered in scope {1}.", regionInfos.RegionID, scopeID); |
72 | return false; | 72 | return false; |
73 | } | 73 | } |
74 | if (m_Database.Get((int)regionInfos.RegionLocX, (int)regionInfos.RegionLocY, scopeID) != null) | 74 | // This needs better sanity testing. What if regionInfo is registering in |
75 | // overlapping coords? | ||
76 | if (m_Database.Get(regionInfos.RegionLocX, regionInfos.RegionLocY, scopeID) != null) | ||
75 | { | 77 | { |
76 | m_log.WarnFormat("[GRID SERVICE]: Region {0} tried to register in coordinates {1}, {2} which are already in use in scope {3}.", | 78 | m_log.WarnFormat("[GRID SERVICE]: Region {0} tried to register in coordinates {1}, {2} which are already in use in scope {3}.", |
77 | regionInfos.RegionID, regionInfos.RegionLocX, regionInfos.RegionLocY, scopeID); | 79 | regionInfos.RegionID, regionInfos.RegionLocX, regionInfos.RegionLocY, scopeID); |