aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices.UserServer/Main.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-05-16 21:10:45 +0000
committerAdam Frisby2007-05-16 21:10:45 +0000
commitdc2acaa8a887e986644480237910308701c84c1a (patch)
treed5f292670f2295877cbece26ca43444dba82f03b /OpenGridServices.UserServer/Main.cs
parent* sing loud, sing proud, sing from the heart (diff)
downloadopensim-SC-dc2acaa8a887e986644480237910308701c84c1a.zip
opensim-SC-dc2acaa8a887e986644480237910308701c84c1a.tar.gz
opensim-SC-dc2acaa8a887e986644480237910308701c84c1a.tar.bz2
opensim-SC-dc2acaa8a887e986644480237910308701c84c1a.tar.xz
Let stuff be broken!
Diffstat (limited to '')
-rw-r--r--OpenGridServices.UserServer/Main.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenGridServices.UserServer/Main.cs b/OpenGridServices.UserServer/Main.cs
index ed7b768..1c6ad8c 100644
--- a/OpenGridServices.UserServer/Main.cs
+++ b/OpenGridServices.UserServer/Main.cs
@@ -50,6 +50,8 @@ namespace OpenGridServices.UserServer
50 private string ConfigDll = "OpenUser.Config.UserConfigDb4o.dll"; 50 private string ConfigDll = "OpenUser.Config.UserConfigDb4o.dll";
51 private UserConfig Cfg; 51 private UserConfig Cfg;
52 52
53 public UserManager m_userManager; // Replaces below.
54
53 private UserProfileManager m_userProfileManager; 55 private UserProfileManager m_userProfileManager;
54 56
55 public Dictionary<LLUUID, UserProfile> UserSessions = new Dictionary<LLUUID, UserProfile>(); 57 public Dictionary<LLUUID, UserProfile> UserSessions = new Dictionary<LLUUID, UserProfile>();
@@ -62,6 +64,7 @@ namespace OpenGridServices.UserServer
62 Console.WriteLine("Starting...\n"); 64 Console.WriteLine("Starting...\n");
63 65
64 OpenUser_Main userserver = new OpenUser_Main(); 66 OpenUser_Main userserver = new OpenUser_Main();
67
65 userserver.Startup(); 68 userserver.Startup();
66 userserver.Work(); 69 userserver.Work();
67 } 70 }
@@ -88,6 +91,9 @@ namespace OpenGridServices.UserServer
88 Cfg = this.LoadConfigDll(this.ConfigDll); 91 Cfg = this.LoadConfigDll(this.ConfigDll);
89 Cfg.InitConfig(); 92 Cfg.InitConfig();
90 93
94 MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Main.cs:Startup() - Establishing data connection");
95 m_userManager = new UserManager();
96
91 MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Main.cs:Startup() - Creating user profile manager"); 97 MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Main.cs:Startup() - Creating user profile manager");
92 m_userProfileManager = new UserProfileManager(); 98 m_userProfileManager = new UserProfileManager();
93 m_userProfileManager.InitUserProfiles(); 99 m_userProfileManager.InitUserProfiles();