aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Data.SQLite/SQLiteGridData.cs')
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteGridData.cs24
1 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs b/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs
index 397ef82..94e8e50 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs
@@ -37,7 +37,7 @@ namespace OpenSim.Framework.Data.SQLite
37 /// <summary> 37 /// <summary>
38 /// A Grid Interface to the SQLite database 38 /// A Grid Interface to the SQLite database
39 /// </summary> 39 /// </summary>
40 public class SQLiteGridData : IGridData 40 public class SQLiteGridData : GridDataBase
41 { 41 {
42 /// <summary> 42 /// <summary>
43 /// A database manager 43 /// A database manager
@@ -47,7 +47,7 @@ namespace OpenSim.Framework.Data.SQLite
47 /// <summary> 47 /// <summary>
48 /// Initialises the Grid Interface 48 /// Initialises the Grid Interface
49 /// </summary> 49 /// </summary>
50 public void Initialise() 50 override public void Initialise()
51 { 51 {
52 database = new SQLiteManager("localhost", "db", "user", "password", "false"); 52 database = new SQLiteManager("localhost", "db", "user", "password", "false");
53 } 53 }
@@ -55,7 +55,7 @@ namespace OpenSim.Framework.Data.SQLite
55 /// <summary> 55 /// <summary>
56 /// Shuts down the grid interface 56 /// Shuts down the grid interface
57 /// </summary> 57 /// </summary>
58 public void Close() 58 override public void Close()
59 { 59 {
60 database.Close(); 60 database.Close();
61 } 61 }
@@ -64,7 +64,7 @@ namespace OpenSim.Framework.Data.SQLite
64 /// Returns the name of this grid interface 64 /// Returns the name of this grid interface
65 /// </summary> 65 /// </summary>
66 /// <returns>A string containing the grid interface</returns> 66 /// <returns>A string containing the grid interface</returns>
67 public string getName() 67 override public string getName()
68 { 68 {
69 return "SQLite OpenGridData"; 69 return "SQLite OpenGridData";
70 } 70 }
@@ -73,7 +73,7 @@ namespace OpenSim.Framework.Data.SQLite
73 /// Returns the version of this grid interface 73 /// Returns the version of this grid interface
74 /// </summary> 74 /// </summary>
75 /// <returns>A string containing the version</returns> 75 /// <returns>A string containing the version</returns>
76 public string getVersion() 76 override public string getVersion()
77 { 77 {
78 return "0.1"; 78 return "0.1";
79 } 79 }
@@ -86,7 +86,7 @@ namespace OpenSim.Framework.Data.SQLite
86 /// <param name="c">maximum X coordinate</param> 86 /// <param name="c">maximum X coordinate</param>
87 /// <param name="d">maximum Y coordinate</param> 87 /// <param name="d">maximum Y coordinate</param>
88 /// <returns>An array of region profiles</returns> 88 /// <returns>An array of region profiles</returns>
89 public RegionProfileData[] GetProfilesInRange(uint a, uint b, uint c, uint d) 89 override public RegionProfileData[] GetProfilesInRange(uint a, uint b, uint c, uint d)
90 { 90 {
91 return null; 91 return null;
92 } 92 }
@@ -96,7 +96,7 @@ namespace OpenSim.Framework.Data.SQLite
96 /// </summary> 96 /// </summary>
97 /// <param name="handle">Region location handle</param> 97 /// <param name="handle">Region location handle</param>
98 /// <returns>Sim profile</returns> 98 /// <returns>Sim profile</returns>
99 public RegionProfileData GetProfileByHandle(ulong handle) 99 override public RegionProfileData GetProfileByHandle(ulong handle)
100 { 100 {
101 Dictionary<string, string> param = new Dictionary<string, string>(); 101 Dictionary<string, string> param = new Dictionary<string, string>();
102 param["handle"] = handle.ToString(); 102 param["handle"] = handle.ToString();
@@ -116,7 +116,7 @@ namespace OpenSim.Framework.Data.SQLite
116 /// </summary> 116 /// </summary>
117 /// <param name="regionName">The region name search query</param> 117 /// <param name="regionName">The region name search query</param>
118 /// <returns>The sim profile</returns> 118 /// <returns>The sim profile</returns>
119 public RegionProfileData GetProfileByString(string regionName) 119 override public RegionProfileData GetProfileByString(string regionName)
120 { 120 {
121 if (regionName.Length > 2) 121 if (regionName.Length > 2)
122 { 122 {
@@ -145,7 +145,7 @@ namespace OpenSim.Framework.Data.SQLite
145 /// </summary> 145 /// </summary>
146 /// <param name="uuid">The region UUID</param> 146 /// <param name="uuid">The region UUID</param>
147 /// <returns>The sim profile</returns> 147 /// <returns>The sim profile</returns>
148 public RegionProfileData GetProfileByLLUUID(LLUUID uuid) 148 override public RegionProfileData GetProfileByLLUUID(LLUUID uuid)
149 { 149 {
150 Dictionary<string, string> param = new Dictionary<string, string>(); 150 Dictionary<string, string> param = new Dictionary<string, string>();
151 param["uuid"] = uuid.ToString(); 151 param["uuid"] = uuid.ToString();
@@ -175,7 +175,7 @@ namespace OpenSim.Framework.Data.SQLite
175 /// </summary> 175 /// </summary>
176 /// <param name="profile">The profile to add</param> 176 /// <param name="profile">The profile to add</param>
177 /// <returns>A dataresponse enum indicating success</returns> 177 /// <returns>A dataresponse enum indicating success</returns>
178 public DataResponse AddProfile(RegionProfileData profile) 178 override public DataResponse AddProfile(RegionProfileData profile)
179 { 179 {
180 if (database.insertRow(profile)) 180 if (database.insertRow(profile))
181 { 181 {
@@ -194,7 +194,7 @@ namespace OpenSim.Framework.Data.SQLite
194 /// <param name="handle">The attempted regionHandle of the challenger</param> 194 /// <param name="handle">The attempted regionHandle of the challenger</param>
195 /// <param name="authkey">The secret</param> 195 /// <param name="authkey">The secret</param>
196 /// <returns>Whether the secret and regionhandle match the database entry for UUID</returns> 196 /// <returns>Whether the secret and regionhandle match the database entry for UUID</returns>
197 public bool AuthenticateSim(LLUUID uuid, ulong handle, string authkey) 197 override public bool AuthenticateSim(LLUUID uuid, ulong handle, string authkey)
198 { 198 {
199 bool throwHissyFit = false; // Should be true by 1.0 199 bool throwHissyFit = false; // Should be true by 1.0
200 200
@@ -226,7 +226,7 @@ namespace OpenSim.Framework.Data.SQLite
226 return false; 226 return false;
227 } 227 }
228 228
229 public ReservationData GetReservationAtPoint(uint x, uint y) 229 override public ReservationData GetReservationAtPoint(uint x, uint y)
230 { 230 {
231 return null; 231 return null;
232 } 232 }