diff options
author | Diva Canto | 2009-09-22 20:25:00 -0700 |
---|---|---|
committer | Diva Canto | 2009-09-22 20:25:00 -0700 |
commit | 882d2c9cc399c4c7d1809702104ce94c9c2c7b17 (patch) | |
tree | 7b79cdd31d5ac659586acc4ae15bfd6519b4565e /OpenSim/Services | |
parent | Moved RegionName from RegionInfo to SimpleRegionInfo. (diff) | |
download | opensim-SC_OLD-882d2c9cc399c4c7d1809702104ce94c9c2c7b17.zip opensim-SC_OLD-882d2c9cc399c4c7d1809702104ce94c9c2c7b17.tar.gz opensim-SC_OLD-882d2c9cc399c4c7d1809702104ce94c9c2c7b17.tar.bz2 opensim-SC_OLD-882d2c9cc399c4c7d1809702104ce94c9c2c7b17.tar.xz |
Added hg console commands to the module.
Added the IN connector module for link-region and corresponding handler to be used in the regions only. No service as such is needed.
This will replace the current link-region machinery. Compiles but not tested.
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/Connectors/Grid/GridServiceConnector.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Services/Connectors/Grid/GridServiceConnector.cs b/OpenSim/Services/Connectors/Grid/GridServiceConnector.cs index ae7db7e..1962bcf 100644 --- a/OpenSim/Services/Connectors/Grid/GridServiceConnector.cs +++ b/OpenSim/Services/Connectors/Grid/GridServiceConnector.cs | |||
@@ -85,7 +85,7 @@ namespace OpenSim.Services.Connectors | |||
85 | 85 | ||
86 | #region IGridService | 86 | #region IGridService |
87 | 87 | ||
88 | public bool RegisterRegion(UUID scopeID, SimpleRegionInfo regionInfo) | 88 | public virtual bool RegisterRegion(UUID scopeID, SimpleRegionInfo regionInfo) |
89 | { | 89 | { |
90 | Dictionary<string, object> rinfo = regionInfo.ToKeyValuePairs(); | 90 | Dictionary<string, object> rinfo = regionInfo.ToKeyValuePairs(); |
91 | Dictionary<string, string> sendData = new Dictionary<string,string>(); | 91 | Dictionary<string, string> sendData = new Dictionary<string,string>(); |
@@ -108,7 +108,7 @@ namespace OpenSim.Services.Connectors | |||
108 | return false; | 108 | return false; |
109 | } | 109 | } |
110 | 110 | ||
111 | public bool DeregisterRegion(UUID regionID) | 111 | public virtual bool DeregisterRegion(UUID regionID) |
112 | { | 112 | { |
113 | Dictionary<string, string> sendData = new Dictionary<string, string>(); | 113 | Dictionary<string, string> sendData = new Dictionary<string, string>(); |
114 | 114 | ||
@@ -128,7 +128,7 @@ namespace OpenSim.Services.Connectors | |||
128 | return false; | 128 | return false; |
129 | } | 129 | } |
130 | 130 | ||
131 | public List<SimpleRegionInfo> GetNeighbours(UUID scopeID, UUID regionID) | 131 | public virtual List<SimpleRegionInfo> GetNeighbours(UUID scopeID, UUID regionID) |
132 | { | 132 | { |
133 | Dictionary<string, string> sendData = new Dictionary<string, string>(); | 133 | Dictionary<string, string> sendData = new Dictionary<string, string>(); |
134 | 134 | ||
@@ -166,7 +166,7 @@ namespace OpenSim.Services.Connectors | |||
166 | return rinfos; | 166 | return rinfos; |
167 | } | 167 | } |
168 | 168 | ||
169 | public SimpleRegionInfo GetRegionByUUID(UUID scopeID, UUID regionID) | 169 | public virtual SimpleRegionInfo GetRegionByUUID(UUID scopeID, UUID regionID) |
170 | { | 170 | { |
171 | Dictionary<string, string> sendData = new Dictionary<string, string>(); | 171 | Dictionary<string, string> sendData = new Dictionary<string, string>(); |
172 | 172 | ||
@@ -197,7 +197,7 @@ namespace OpenSim.Services.Connectors | |||
197 | return rinfo; | 197 | return rinfo; |
198 | } | 198 | } |
199 | 199 | ||
200 | public SimpleRegionInfo GetRegionByPosition(UUID scopeID, int x, int y) | 200 | public virtual SimpleRegionInfo GetRegionByPosition(UUID scopeID, int x, int y) |
201 | { | 201 | { |
202 | Dictionary<string, string> sendData = new Dictionary<string, string>(); | 202 | Dictionary<string, string> sendData = new Dictionary<string, string>(); |
203 | 203 | ||
@@ -229,7 +229,7 @@ namespace OpenSim.Services.Connectors | |||
229 | return rinfo; | 229 | return rinfo; |
230 | } | 230 | } |
231 | 231 | ||
232 | public SimpleRegionInfo GetRegionByName(UUID scopeID, string regionName) | 232 | public virtual SimpleRegionInfo GetRegionByName(UUID scopeID, string regionName) |
233 | { | 233 | { |
234 | Dictionary<string, string> sendData = new Dictionary<string, string>(); | 234 | Dictionary<string, string> sendData = new Dictionary<string, string>(); |
235 | 235 | ||
@@ -260,7 +260,7 @@ namespace OpenSim.Services.Connectors | |||
260 | return rinfo; | 260 | return rinfo; |
261 | } | 261 | } |
262 | 262 | ||
263 | public List<SimpleRegionInfo> GetRegionsByName(UUID scopeID, string name, int maxNumber) | 263 | public virtual List<SimpleRegionInfo> GetRegionsByName(UUID scopeID, string name, int maxNumber) |
264 | { | 264 | { |
265 | Dictionary<string, string> sendData = new Dictionary<string, string>(); | 265 | Dictionary<string, string> sendData = new Dictionary<string, string>(); |
266 | 266 | ||
@@ -299,7 +299,7 @@ namespace OpenSim.Services.Connectors | |||
299 | return rinfos; | 299 | return rinfos; |
300 | } | 300 | } |
301 | 301 | ||
302 | public List<SimpleRegionInfo> GetRegionRange(UUID scopeID, int xmin, int xmax, int ymin, int ymax) | 302 | public virtual List<SimpleRegionInfo> GetRegionRange(UUID scopeID, int xmin, int xmax, int ymin, int ymax) |
303 | { | 303 | { |
304 | Dictionary<string, string> sendData = new Dictionary<string, string>(); | 304 | Dictionary<string, string> sendData = new Dictionary<string, string>(); |
305 | 305 | ||