diff options
Diffstat (limited to 'OpenSim/Services/Connectors/SimianGrid')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs | 4 | ||||
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs index 8076fab..f86eba3 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs | |||
@@ -135,6 +135,8 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
135 | 135 | ||
136 | public string RegisterRegion(UUID scopeID, GridRegion regionInfo) | 136 | public string RegisterRegion(UUID scopeID, GridRegion regionInfo) |
137 | { | 137 | { |
138 | IPEndPoint ext = regionInfo.ExternalEndPoint; | ||
139 | if (ext == null) return "Region registration for " + regionInfo.RegionName + " failed: Could not resolve EndPoint"; | ||
138 | // Generate and upload our map tile in PNG format to the SimianGrid AddMapTile service | 140 | // Generate and upload our map tile in PNG format to the SimianGrid AddMapTile service |
139 | Scene scene; | 141 | Scene scene; |
140 | if (m_scenes.TryGetValue(regionInfo.RegionID, out scene)) | 142 | if (m_scenes.TryGetValue(regionInfo.RegionID, out scene)) |
@@ -150,7 +152,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
150 | { "ServerURI", OSD.FromString(regionInfo.ServerURI) }, | 152 | { "ServerURI", OSD.FromString(regionInfo.ServerURI) }, |
151 | { "InternalAddress", OSD.FromString(regionInfo.InternalEndPoint.Address.ToString()) }, | 153 | { "InternalAddress", OSD.FromString(regionInfo.InternalEndPoint.Address.ToString()) }, |
152 | { "InternalPort", OSD.FromInteger(regionInfo.InternalEndPoint.Port) }, | 154 | { "InternalPort", OSD.FromInteger(regionInfo.InternalEndPoint.Port) }, |
153 | { "ExternalAddress", OSD.FromString(regionInfo.ExternalEndPoint.Address.ToString()) }, | 155 | { "ExternalAddress", OSD.FromString(ext.Address.ToString()) }, |
154 | { "ExternalPort", OSD.FromInteger(regionInfo.ExternalEndPoint.Port) }, | 156 | { "ExternalPort", OSD.FromInteger(regionInfo.ExternalEndPoint.Port) }, |
155 | { "MapTexture", OSD.FromUUID(regionInfo.TerrainImage) }, | 157 | { "MapTexture", OSD.FromUUID(regionInfo.TerrainImage) }, |
156 | { "Access", OSD.FromInteger(regionInfo.Access) }, | 158 | { "Access", OSD.FromInteger(regionInfo.Access) }, |
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs index 9c150ee..394c2b7 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs | |||
@@ -191,6 +191,11 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
191 | return accounts; | 191 | return accounts; |
192 | } | 192 | } |
193 | 193 | ||
194 | public List<UserAccount> GetUserAccountsWhere(UUID scopeID, string query) | ||
195 | { | ||
196 | return null; | ||
197 | } | ||
198 | |||
194 | public bool StoreUserAccount(UserAccount data) | 199 | public bool StoreUserAccount(UserAccount data) |
195 | { | 200 | { |
196 | m_log.InfoFormat("[SIMIAN ACCOUNT CONNECTOR]: Storing user account for " + data.Name); | 201 | m_log.InfoFormat("[SIMIAN ACCOUNT CONNECTOR]: Storing user account for " + data.Name); |