aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGrid.Framework.Data.DB4o
diff options
context:
space:
mode:
authorAdam Frisby2007-05-16 21:10:45 +0000
committerAdam Frisby2007-05-16 21:10:45 +0000
commitdc2acaa8a887e986644480237910308701c84c1a (patch)
treed5f292670f2295877cbece26ca43444dba82f03b /OpenGrid.Framework.Data.DB4o
parent* sing loud, sing proud, sing from the heart (diff)
downloadopensim-SC_OLD-dc2acaa8a887e986644480237910308701c84c1a.zip
opensim-SC_OLD-dc2acaa8a887e986644480237910308701c84c1a.tar.gz
opensim-SC_OLD-dc2acaa8a887e986644480237910308701c84c1a.tar.bz2
opensim-SC_OLD-dc2acaa8a887e986644480237910308701c84c1a.tar.xz
Let stuff be broken!
Diffstat (limited to 'OpenGrid.Framework.Data.DB4o')
-rw-r--r--OpenGrid.Framework.Data.DB4o/DB4oUserData.cs19
1 files changed, 17 insertions, 2 deletions
diff --git a/OpenGrid.Framework.Data.DB4o/DB4oUserData.cs b/OpenGrid.Framework.Data.DB4o/DB4oUserData.cs
index c21d7e2..7dd4c51 100644
--- a/OpenGrid.Framework.Data.DB4o/DB4oUserData.cs
+++ b/OpenGrid.Framework.Data.DB4o/DB4oUserData.cs
@@ -8,7 +8,12 @@ namespace OpenGrid.Framework.Data.DB4o
8{ 8{
9 public class DB4oUserData : IUserData 9 public class DB4oUserData : IUserData
10 { 10 {
11 DB4oUserManager manager = new DB4oUserManager("userprofiles.yap"); 11 DB4oUserManager manager;
12
13 public void Initialise()
14 {
15 manager = new DB4oUserManager("userprofiles.yap");
16 }
12 17
13 public UserProfileData getUserByUUID(LLUUID uuid) 18 public UserProfileData getUserByUUID(LLUUID uuid)
14 { 19 {
@@ -33,7 +38,7 @@ namespace OpenGrid.Framework.Data.DB4o
33 } 38 }
34 39
35 public UserAgentData getAgentByUUID(LLUUID uuid) 40 public UserAgentData getAgentByUUID(LLUUID uuid)
36 { 41 {
37 try 42 try
38 { 43 {
39 return getUserByUUID(uuid).currentAgent; 44 return getUserByUUID(uuid).currentAgent;
@@ -71,5 +76,15 @@ namespace OpenGrid.Framework.Data.DB4o
71 return true; 76 return true;
72 } 77 }
73 78
79
80 public string getName()
81 {
82 return "DB4o Userdata";
83 }
84
85 public string getVersion()
86 {
87 return "0.1";
88 }
74 } 89 }
75} 90}