diff --git a/OpenSim/Framework/Data.DB4o/DB4oGridData.cs b/OpenSim/Framework/Data.DB4o/DB4oGridData.cs
index a01d1a493a..bc7225a7cf 100644
--- a/OpenSim/Framework/Data.DB4o/DB4oGridData.cs
+++ b/OpenSim/Framework/Data.DB4o/DB4oGridData.cs
@@ -56,7 +56,7 @@ namespace OpenSim.Framework.Data.DB4o
/// maximum X coordinate
/// maximum Y coordinate
/// An array of region profiles
- public SimProfileData[] GetProfilesInRange(uint a, uint b, uint c, uint d)
+ public RegionProfileData[] GetProfilesInRange(uint a, uint b, uint c, uint d)
{
return null;
}
@@ -66,7 +66,8 @@ namespace OpenSim.Framework.Data.DB4o
///
/// The handle to search for
/// A region profile
- public SimProfileData GetProfileByHandle(ulong handle) {
+ public RegionProfileData GetProfileByHandle(ulong handle)
+ {
lock (manager.simProfiles)
{
foreach (LLUUID UUID in manager.simProfiles.Keys)
@@ -85,7 +86,7 @@ namespace OpenSim.Framework.Data.DB4o
///
/// The region ID code
/// A region profile
- public SimProfileData GetProfileByLLUUID(LLUUID uuid)
+ public RegionProfileData GetProfileByLLUUID(LLUUID uuid)
{
lock (manager.simProfiles)
{
@@ -100,7 +101,7 @@ namespace OpenSim.Framework.Data.DB4o
///
/// The profile to add
/// A dataresponse enum indicating success
- public DataResponse AddProfile(SimProfileData profile)
+ public DataResponse AddProfile(RegionProfileData profile)
{
lock (manager.simProfiles)
{
diff --git a/OpenSim/Framework/Data.DB4o/DB4oManager.cs b/OpenSim/Framework/Data.DB4o/DB4oManager.cs
index 224b84217c..10c8490dc0 100644
--- a/OpenSim/Framework/Data.DB4o/DB4oManager.cs
+++ b/OpenSim/Framework/Data.DB4o/DB4oManager.cs
@@ -41,7 +41,7 @@ namespace OpenSim.Framework.Data.DB4o
///
/// A list of the current regions connected (in-memory cache)
///
- public Dictionary simProfiles = new Dictionary();
+ public Dictionary simProfiles = new Dictionary();
///
/// Database File Name
///
@@ -56,9 +56,10 @@ namespace OpenSim.Framework.Data.DB4o
dbfl = db4odb;
IObjectContainer database;
database = Db4oFactory.OpenFile(dbfl);
- IObjectSet result = database.Get(typeof(SimProfileData));
+ IObjectSet result = database.Get(typeof(RegionProfileData));
// Loads the file into the in-memory cache
- foreach(SimProfileData row in result) {
+ foreach (RegionProfileData row in result)
+ {
simProfiles.Add(row.UUID, row);
}
database.Close();
@@ -69,7 +70,7 @@ namespace OpenSim.Framework.Data.DB4o
///
/// The profile to add
/// Successful?
- public bool AddRow(SimProfileData row)
+ public bool AddRow(RegionProfileData row)
{
if (simProfiles.ContainsKey(row.UUID))
{
diff --git a/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs b/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs
index 09ce6d2388..e628882c12 100644
--- a/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs
+++ b/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs
@@ -86,7 +86,7 @@ namespace OpenSim.Framework.Data.MSSQL
/// maximum X coordinate
/// maximum Y coordinate
/// An array of region profiles
- public SimProfileData[] GetProfilesInRange(uint a, uint b, uint c, uint d)
+ public RegionProfileData[] GetProfilesInRange(uint a, uint b, uint c, uint d)
{
return null;
}
@@ -96,7 +96,7 @@ namespace OpenSim.Framework.Data.MSSQL
///
/// Region location handle
/// Sim profile
- public SimProfileData GetProfileByHandle(ulong handle)
+ public RegionProfileData GetProfileByHandle(ulong handle)
{
Dictionary param = new Dictionary();
param["handle"] = handle.ToString();
@@ -104,7 +104,7 @@ namespace OpenSim.Framework.Data.MSSQL
IDbCommand result = database.Query("SELECT * FROM regions WHERE handle = @handle", param);
IDataReader reader = result.ExecuteReader();
- SimProfileData row = database.getRow(reader);
+ RegionProfileData row = database.getRow(reader);
reader.Close();
result.Dispose();
@@ -116,7 +116,7 @@ namespace OpenSim.Framework.Data.MSSQL
///
/// The region UUID
/// The sim profile
- public SimProfileData GetProfileByLLUUID(LLUUID uuid)
+ public RegionProfileData GetProfileByLLUUID(LLUUID uuid)
{
Dictionary param = new Dictionary();
param["uuid"] = uuid.ToStringHyphenated();
@@ -124,7 +124,7 @@ namespace OpenSim.Framework.Data.MSSQL
IDbCommand result = database.Query("SELECT * FROM regions WHERE uuid = @uuid", param);
IDataReader reader = result.ExecuteReader();
- SimProfileData row = database.getRow(reader);
+ RegionProfileData row = database.getRow(reader);
reader.Close();
result.Dispose();
@@ -136,7 +136,7 @@ namespace OpenSim.Framework.Data.MSSQL
///
/// The profile to add
/// A dataresponse enum indicating success
- public DataResponse AddProfile(SimProfileData profile)
+ public DataResponse AddProfile(RegionProfileData profile)
{
if (database.insertRow(profile))
{
@@ -162,7 +162,7 @@ namespace OpenSim.Framework.Data.MSSQL
if (throwHissyFit)
throw new Exception("CRYPTOWEAK AUTHENTICATE: Refusing to authenticate due to replay potential.");
- SimProfileData data = GetProfileByLLUUID(uuid);
+ RegionProfileData data = GetProfileByLLUUID(uuid);
return (handle == data.regionHandle && authkey == data.regionSecret);
}
diff --git a/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs b/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs
index 1efd51ee98..77d29f796e 100644
--- a/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs
+++ b/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs
@@ -98,9 +98,9 @@ namespace OpenSim.Framework.Data.MSSQL
///
/// An active database reader
/// A region row
- public SimProfileData getRow(IDataReader reader)
+ public RegionProfileData getRow(IDataReader reader)
{
- SimProfileData regionprofile = new SimProfileData();
+ RegionProfileData regionprofile = new RegionProfileData();
if (reader.Read())
{
@@ -154,7 +154,7 @@ namespace OpenSim.Framework.Data.MSSQL
///
/// The region profile to insert
/// Successful?
- public bool insertRow(SimProfileData profile)
+ public bool insertRow(RegionProfileData profile)
{
string sql = "REPLACE INTO regions VALUES (regionHandle, regionName, uuid, regionRecvKey, regionSecret, regionSendKey, regionDataURI, ";
sql += "serverIP, serverPort, serverURI, locX, locY, locZ, eastOverrideHandle, westOverrideHandle, southOverrideHandle, northOverrideHandle, regionAssetURI, regionAssetRecvKey, ";
diff --git a/OpenSim/Framework/Data.MySQL/MySQLGridData.cs b/OpenSim/Framework/Data.MySQL/MySQLGridData.cs
index 5709bf07ed..9876ab14f9 100644
--- a/OpenSim/Framework/Data.MySQL/MySQLGridData.cs
+++ b/OpenSim/Framework/Data.MySQL/MySQLGridData.cs
@@ -96,7 +96,7 @@ namespace OpenSim.Framework.Data.MySQL
/// Maximum X coordinate
/// Maximum Y coordinate
///
- public SimProfileData[] GetProfilesInRange(uint xmin, uint ymin, uint xmax, uint ymax)
+ public RegionProfileData[] GetProfilesInRange(uint xmin, uint ymin, uint xmax, uint ymax)
{
try
{
@@ -111,9 +111,9 @@ namespace OpenSim.Framework.Data.MySQL
IDbCommand result = database.Query("SELECT * FROM regions WHERE locX >= ?xmin AND locX <= ?xmax AND locY >= ?ymin AND locY <= ?ymax", param);
IDataReader reader = result.ExecuteReader();
- SimProfileData row;
+ RegionProfileData row;
- List rows = new List();
+ List rows = new List();
while ((row = database.readSimRow(reader)) != null)
{
@@ -139,7 +139,7 @@ namespace OpenSim.Framework.Data.MySQL
///
/// Region location handle
/// Sim profile
- public SimProfileData GetProfileByHandle(ulong handle)
+ public RegionProfileData GetProfileByHandle(ulong handle)
{
try
{
@@ -151,7 +151,7 @@ namespace OpenSim.Framework.Data.MySQL
IDbCommand result = database.Query("SELECT * FROM regions WHERE regionHandle = ?handle", param);
IDataReader reader = result.ExecuteReader();
- SimProfileData row = database.readSimRow(reader);
+ RegionProfileData row = database.readSimRow(reader);
reader.Close();
result.Dispose();
@@ -171,7 +171,7 @@ namespace OpenSim.Framework.Data.MySQL
///
/// The region UUID
/// The sim profile
- public SimProfileData GetProfileByLLUUID(LLUUID uuid)
+ public RegionProfileData GetProfileByLLUUID(LLUUID uuid)
{
try
{
@@ -183,7 +183,7 @@ namespace OpenSim.Framework.Data.MySQL
IDbCommand result = database.Query("SELECT * FROM regions WHERE uuid = ?uuid", param);
IDataReader reader = result.ExecuteReader();
- SimProfileData row = database.readSimRow(reader);
+ RegionProfileData row = database.readSimRow(reader);
reader.Close();
result.Dispose();
@@ -203,7 +203,7 @@ namespace OpenSim.Framework.Data.MySQL
///
/// The profile to add
/// Successful?
- public DataResponse AddProfile(SimProfileData profile)
+ public DataResponse AddProfile(RegionProfileData profile)
{
lock (database)
{
@@ -232,7 +232,7 @@ namespace OpenSim.Framework.Data.MySQL
if (throwHissyFit)
throw new Exception("CRYPTOWEAK AUTHENTICATE: Refusing to authenticate due to replay potential.");
- SimProfileData data = GetProfileByLLUUID(uuid);
+ RegionProfileData data = GetProfileByLLUUID(uuid);
return (handle == data.regionHandle && authkey == data.regionSecret);
}
diff --git a/OpenSim/Framework/Data.MySQL/MySQLManager.cs b/OpenSim/Framework/Data.MySQL/MySQLManager.cs
index d3f6976337..8600d6b1ad 100644
--- a/OpenSim/Framework/Data.MySQL/MySQLManager.cs
+++ b/OpenSim/Framework/Data.MySQL/MySQLManager.cs
@@ -267,9 +267,9 @@ namespace OpenSim.Framework.Data.MySQL
///
/// An active database reader
/// A region profile
- public SimProfileData readSimRow(IDataReader reader)
+ public RegionProfileData readSimRow(IDataReader reader)
{
- SimProfileData retval = new SimProfileData();
+ RegionProfileData retval = new RegionProfileData();
if (reader.Read())
{
@@ -583,7 +583,7 @@ namespace OpenSim.Framework.Data.MySQL
///
/// The region to insert
/// Success?
- public bool insertRegion(SimProfileData regiondata)
+ public bool insertRegion(RegionProfileData regiondata)
{
string sql = "REPLACE INTO regions (regionHandle, regionName, uuid, regionRecvKey, regionSecret, regionSendKey, regionDataURI, ";
sql += "serverIP, serverPort, serverURI, locX, locY, locZ, eastOverrideHandle, westOverrideHandle, southOverrideHandle, northOverrideHandle, regionAssetURI, regionAssetRecvKey, ";
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs b/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs
index a7ff0f7a0f..2fc80b48cb 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs
@@ -86,7 +86,7 @@ namespace OpenSim.Framework.Data.SQLite
/// maximum X coordinate
/// maximum Y coordinate
/// An array of region profiles
- public SimProfileData[] GetProfilesInRange(uint a, uint b, uint c, uint d)
+ public RegionProfileData[] GetProfilesInRange(uint a, uint b, uint c, uint d)
{
return null;
}
@@ -96,7 +96,7 @@ namespace OpenSim.Framework.Data.SQLite
///
/// Region location handle
/// Sim profile
- public SimProfileData GetProfileByHandle(ulong handle)
+ public RegionProfileData GetProfileByHandle(ulong handle)
{
Dictionary param = new Dictionary();
param["handle"] = handle.ToString();
@@ -104,7 +104,7 @@ namespace OpenSim.Framework.Data.SQLite
IDbCommand result = database.Query("SELECT * FROM regions WHERE handle = @handle", param);
IDataReader reader = result.ExecuteReader();
- SimProfileData row = database.getRow(reader);
+ RegionProfileData row = database.getRow(reader);
reader.Close();
result.Dispose();
@@ -116,7 +116,7 @@ namespace OpenSim.Framework.Data.SQLite
///
/// The region UUID
/// The sim profile
- public SimProfileData GetProfileByLLUUID(LLUUID uuid)
+ public RegionProfileData GetProfileByLLUUID(LLUUID uuid)
{
Dictionary param = new Dictionary();
param["uuid"] = uuid.ToStringHyphenated();
@@ -124,7 +124,7 @@ namespace OpenSim.Framework.Data.SQLite
IDbCommand result = database.Query("SELECT * FROM regions WHERE uuid = @uuid", param);
IDataReader reader = result.ExecuteReader();
- SimProfileData row = database.getRow(reader);
+ RegionProfileData row = database.getRow(reader);
reader.Close();
result.Dispose();
@@ -136,7 +136,7 @@ namespace OpenSim.Framework.Data.SQLite
///
/// The profile to add
/// A dataresponse enum indicating success
- public DataResponse AddProfile(SimProfileData profile)
+ public DataResponse AddProfile(RegionProfileData profile)
{
if (database.insertRow(profile))
{
@@ -162,7 +162,7 @@ namespace OpenSim.Framework.Data.SQLite
if (throwHissyFit)
throw new Exception("CRYPTOWEAK AUTHENTICATE: Refusing to authenticate due to replay potential.");
- SimProfileData data = GetProfileByLLUUID(uuid);
+ RegionProfileData data = GetProfileByLLUUID(uuid);
return (handle == data.regionHandle && authkey == data.regionSecret);
}
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteManager.cs b/OpenSim/Framework/Data.SQLite/SQLiteManager.cs
index f73f480e6c..5954fbaff7 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteManager.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteManager.cs
@@ -161,9 +161,9 @@ namespace OpenSim.Framework.Data.SQLite
///
/// An active database reader
/// A region profile
- public SimProfileData getRow(IDataReader reader)
+ public RegionProfileData getRow(IDataReader reader)
{
- SimProfileData retval = new SimProfileData();
+ RegionProfileData retval = new RegionProfileData();
if (reader.Read())
{
@@ -217,7 +217,7 @@ namespace OpenSim.Framework.Data.SQLite
///
/// The region to insert
/// Success?
- public bool insertRow(SimProfileData profile)
+ public bool insertRow(RegionProfileData profile)
{
string sql = "REPLACE INTO regions VALUES (regionHandle, regionName, uuid, regionRecvKey, regionSecret, regionSendKey, regionDataURI, ";
sql += "serverIP, serverPort, serverURI, locX, locY, locZ, eastOverrideHandle, westOverrideHandle, southOverrideHandle, northOverrideHandle, regionAssetURI, regionAssetRecvKey, ";
diff --git a/OpenSim/Framework/Data/GridData.cs b/OpenSim/Framework/Data/GridData.cs
index 70759225a5..2a5b8f6e2e 100644
--- a/OpenSim/Framework/Data/GridData.cs
+++ b/OpenSim/Framework/Data/GridData.cs
@@ -47,14 +47,14 @@ namespace OpenSim.Framework.Data
///
/// A 64bit Region Handle
/// A simprofile
- SimProfileData GetProfileByHandle(ulong regionHandle);
+ RegionProfileData GetProfileByHandle(ulong regionHandle);
///
/// Returns a sim profile from a UUID
///
/// A 128bit UUID
/// A sim profile
- SimProfileData GetProfileByLLUUID(LLUUID UUID);
+ RegionProfileData GetProfileByLLUUID(LLUUID UUID);
///
/// Returns all profiles within the specified range
@@ -64,7 +64,7 @@ namespace OpenSim.Framework.Data
/// Maximum sim coordinate (X)
/// Maximum sim coordinate (Y)
/// An array containing all the sim profiles in the specified range
- SimProfileData[] GetProfilesInRange(uint Xmin, uint Ymin, uint Xmax, uint Ymax);
+ RegionProfileData[] GetProfilesInRange(uint Xmin, uint Ymin, uint Xmax, uint Ymax);
///
/// Authenticates a sim by use of it's recv key.
@@ -103,7 +103,7 @@ namespace OpenSim.Framework.Data
///
/// The profile to add
/// RESPONSE_OK if successful, error if not.
- DataResponse AddProfile(SimProfileData profile);
+ DataResponse AddProfile(RegionProfileData profile);
ReservationData GetReservationAtPoint(uint x, uint y);
diff --git a/OpenSim/Framework/Data/SimProfileData.cs b/OpenSim/Framework/Data/RegionProfileData.cs
similarity index 94%
rename from OpenSim/Framework/Data/SimProfileData.cs
rename to OpenSim/Framework/Data/RegionProfileData.cs
index abde1f3710..5e5dac63da 100644
--- a/OpenSim/Framework/Data/SimProfileData.cs
+++ b/OpenSim/Framework/Data/RegionProfileData.cs
@@ -36,7 +36,7 @@ namespace OpenSim.Framework.Data
///
/// A class which contains information known to the grid server about a region
///
- public class SimProfileData
+ public class RegionProfileData
{
///
/// The name of the region
@@ -124,7 +124,7 @@ namespace OpenSim.Framework.Data
///
///
///
- public SimProfileData RequestSimProfileData(LLUUID region_uuid, string gridserver_url, string gridserver_sendkey, string gridserver_recvkey)
+ public RegionProfileData RequestSimProfileData(LLUUID region_uuid, string gridserver_url, string gridserver_sendkey, string gridserver_recvkey)
{
Hashtable requestData = new Hashtable();
requestData["region_uuid"] = region_uuid.UUID.ToString();
@@ -141,7 +141,7 @@ namespace OpenSim.Framework.Data
return null;
}
- SimProfileData simData = new SimProfileData();
+ RegionProfileData simData = new RegionProfileData();
simData.regionLocX = Convert.ToUInt32((string)responseData["region_locx"]);
simData.regionLocY = Convert.ToUInt32((string)responseData["region_locy"]);
simData.regionHandle = Helpers.UIntsToLong((simData.regionLocX * 256), (simData.regionLocY * 256));
@@ -156,7 +156,7 @@ namespace OpenSim.Framework.Data
return simData;
}
- public SimProfileData RequestSimProfileData(ulong region_handle, string gridserver_url, string gridserver_sendkey, string gridserver_recvkey)
+ public RegionProfileData RequestSimProfileData(ulong region_handle, string gridserver_url, string gridserver_sendkey, string gridserver_recvkey)
{
Hashtable requestData = new Hashtable();
requestData["region_handle"] = region_handle.ToString();
@@ -173,7 +173,7 @@ namespace OpenSim.Framework.Data
return null;
}
- SimProfileData simData = new SimProfileData();
+ RegionProfileData simData = new RegionProfileData();
simData.regionLocX = Convert.ToUInt32((string)responseData["region_locx"]);
simData.regionLocY = Convert.ToUInt32((string)responseData["region_locy"]);
simData.regionHandle = Helpers.UIntsToLong((simData.regionLocX * 256), (simData.regionLocY * 256));
diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs
index 64e8e4bdfc..81197fd61b 100644
--- a/OpenSim/Grid/GridServer/GridManager.cs
+++ b/OpenSim/Grid/GridServer/GridManager.cs
@@ -122,7 +122,7 @@ namespace OpenSim.Grid.GridServer
///
/// A UUID key of the region to return
/// A SimProfileData for the region
- public SimProfileData getRegion(LLUUID uuid)
+ public RegionProfileData getRegion(LLUUID uuid)
{
foreach(KeyValuePair kvp in _plugins) {
try
@@ -142,7 +142,7 @@ namespace OpenSim.Grid.GridServer
///
/// A regionHandle of the region to return
/// A SimProfileData for the region
- public SimProfileData getRegion(ulong handle)
+ public RegionProfileData getRegion(ulong handle)
{
foreach (KeyValuePair kvp in _plugins)
{
@@ -158,16 +158,16 @@ namespace OpenSim.Grid.GridServer
return null;
}
- public Dictionary getRegions(uint xmin, uint ymin, uint xmax, uint ymax)
+ public Dictionary getRegions(uint xmin, uint ymin, uint xmax, uint ymax)
{
- Dictionary regions = new Dictionary();
+ Dictionary regions = new Dictionary();
foreach (KeyValuePair kvp in _plugins)
{
try
{
- SimProfileData[] neighbours = kvp.Value.GetProfilesInRange(xmin, ymin, xmax, ymax);
- foreach (SimProfileData neighbour in neighbours)
+ RegionProfileData[] neighbours = kvp.Value.GetProfilesInRange(xmin, ymin, xmax, ymax);
+ foreach (RegionProfileData neighbour in neighbours)
{
regions[neighbour.regionHandle] = neighbour;
}
@@ -191,8 +191,8 @@ namespace OpenSim.Grid.GridServer
public string GetXMLNeighbours(ulong reqhandle)
{
string response = "";
- SimProfileData central_region = getRegion(reqhandle);
- SimProfileData neighbour;
+ RegionProfileData central_region = getRegion(reqhandle);
+ RegionProfileData neighbour;
for (int x = -1; x < 2; x++) for (int y = -1; y < 2; y++)
{
if (getRegion(Util.UIntsToLong((uint)((central_region.regionLocX + x) * 256), (uint)(central_region.regionLocY + y) * 256)) != null)
@@ -223,7 +223,7 @@ namespace OpenSim.Grid.GridServer
Hashtable responseData = new Hashtable();
response.Value = responseData;
- SimProfileData TheSim = null;
+ RegionProfileData TheSim = null;
Hashtable requestData = (Hashtable)request.Params[0];
string myword;
if (requestData.ContainsKey("UUID"))
@@ -254,7 +254,7 @@ namespace OpenSim.Grid.GridServer
myword = "connection";
}
- TheSim = new SimProfileData();
+ TheSim = new RegionProfileData();
TheSim.regionRecvKey = config.SimRecvKey;
TheSim.regionSendKey = config.SimSendKey;
@@ -325,16 +325,16 @@ namespace OpenSim.Grid.GridServer
ArrayList SimNeighboursData = new ArrayList();
- SimProfileData neighbour;
+ RegionProfileData neighbour;
Hashtable NeighbourBlock;
bool fastMode = false; // Only compatible with MySQL right now
if (fastMode)
{
- Dictionary neighbours = getRegions(TheSim.regionLocX - 1, TheSim.regionLocY - 1, TheSim.regionLocX + 1, TheSim.regionLocY + 1);
+ Dictionary neighbours = getRegions(TheSim.regionLocX - 1, TheSim.regionLocY - 1, TheSim.regionLocX + 1, TheSim.regionLocY + 1);
- foreach (KeyValuePair aSim in neighbours)
+ foreach (KeyValuePair aSim in neighbours)
{
NeighbourBlock = new Hashtable();
NeighbourBlock["sim_ip"] = Util.GetHostFromDNS(aSim.Value.serverIP.ToString()).ToString();
@@ -395,7 +395,7 @@ namespace OpenSim.Grid.GridServer
{
Hashtable requestData = (Hashtable)request.Params[0];
Hashtable responseData = new Hashtable();
- SimProfileData simData = null;
+ RegionProfileData simData = null;
if (requestData.ContainsKey("region_UUID"))
{
simData = getRegion(new LLUUID((string)requestData["region_UUID"]));
@@ -461,9 +461,9 @@ namespace OpenSim.Grid.GridServer
if (fastMode)
{
- Dictionary neighbours = getRegions((uint)xmin, (uint)ymin, (uint)xmax, (uint)ymax);
+ Dictionary neighbours = getRegions((uint)xmin, (uint)ymin, (uint)xmax, (uint)ymax);
- foreach (KeyValuePair aSim in neighbours)
+ foreach (KeyValuePair aSim in neighbours)
{
Hashtable simProfileBlock = new Hashtable();
simProfileBlock["x"] = aSim.Value.regionLocX.ToString();
@@ -489,7 +489,7 @@ namespace OpenSim.Grid.GridServer
}
else
{
- SimProfileData simProfile;
+ RegionProfileData simProfile;
for (int x = xmin; x < xmax+1; x++)
{
for (int y = ymin; y < ymax+1; y++)
@@ -564,7 +564,7 @@ namespace OpenSim.Grid.GridServer
{
string respstring = String.Empty;
- SimProfileData TheSim;
+ RegionProfileData TheSim;
LLUUID UUID = new LLUUID(param);
TheSim = getRegion(UUID);
@@ -598,11 +598,11 @@ namespace OpenSim.Grid.GridServer
public string RestSetSimMethod(string request, string path, string param)
{
Console.WriteLine("Processing region update via REST method");
- SimProfileData TheSim;
+ RegionProfileData TheSim;
TheSim = getRegion(new LLUUID(param));
if ((TheSim) == null)
{
- TheSim = new SimProfileData();
+ TheSim = new RegionProfileData();
LLUUID UUID = new LLUUID(param);
TheSim.UUID = UUID;
TheSim.regionRecvKey = config.SimRecvKey;
diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs
index 8f89727a6e..10a8974dc8 100644
--- a/OpenSim/Grid/UserServer/UserLoginService.cs
+++ b/OpenSim/Grid/UserServer/UserLoginService.cs
@@ -56,8 +56,8 @@ namespace OpenSim.Grid.UserServer
/// The user profile
public override void CustomiseResponse(LoginResponse response, UserProfileData theUser)
{
- // Load information from the gridserver
- SimProfileData SimInfo = new SimProfileData();
+ // Load information from the gridserver
+ RegionProfileData SimInfo = new RegionProfileData();
SimInfo = SimInfo.RequestSimProfileData(theUser.currentAgent.currentHandle, m_config.GridServerURL, m_config.GridSendKey, m_config.GridRecvKey);
// Customise the response