diff options
author | MW | 2007-05-31 15:31:31 +0000 |
---|---|---|
committer | MW | 2007-05-31 15:31:31 +0000 |
commit | 564a97b508fd23601cd41075aa6a1f7de0800b41 (patch) | |
tree | e2cd67317ac84a1468b3a425b011e8df7b7b7d5b /Common/OpenSim.Servers | |
parent | More work on OpenGrid.Framework.Communications (diff) | |
download | opensim-SC-564a97b508fd23601cd41075aa6a1f7de0800b41.zip opensim-SC-564a97b508fd23601cd41075aa6a1f7de0800b41.tar.gz opensim-SC-564a97b508fd23601cd41075aa6a1f7de0800b41.tar.bz2 opensim-SC-564a97b508fd23601cd41075aa6a1f7de0800b41.tar.xz |
Implementing a test Communications manager to test some of the interfaces (likely this test version will morph into the sandbox version)
Diffstat (limited to 'Common/OpenSim.Servers')
-rw-r--r-- | Common/OpenSim.Servers/LocalUserProfileManager.cs | 4 | ||||
-rw-r--r-- | Common/OpenSim.Servers/LoginServer.cs | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Common/OpenSim.Servers/LocalUserProfileManager.cs b/Common/OpenSim.Servers/LocalUserProfileManager.cs index a8b5f1f..99c640a 100644 --- a/Common/OpenSim.Servers/LocalUserProfileManager.cs +++ b/Common/OpenSim.Servers/LocalUserProfileManager.cs | |||
@@ -116,8 +116,8 @@ namespace OpenSim.UserServer | |||
116 | Console.WriteLine("adding login data to gridserver"); | 116 | Console.WriteLine("adding login data to gridserver"); |
117 | ((LocalGridBase)this.m_gridServer).AddNewSession(_login); | 117 | ((LocalGridBase)this.m_gridServer).AddNewSession(_login); |
118 | }*/ | 118 | }*/ |
119 | 119 | ulong reghand = Helpers.UIntsToLong((regionX * 256), (regionY * 256)); | |
120 | this.AddSession(_login); | 120 | this.AddSession(reghand, _login); |
121 | } | 121 | } |
122 | } | 122 | } |
123 | } | 123 | } |
diff --git a/Common/OpenSim.Servers/LoginServer.cs b/Common/OpenSim.Servers/LoginServer.cs index 6fd174b..d02c41e 100644 --- a/Common/OpenSim.Servers/LoginServer.cs +++ b/Common/OpenSim.Servers/LoginServer.cs | |||
@@ -47,7 +47,7 @@ using OpenSim.Framework.Types; | |||
47 | 47 | ||
48 | namespace OpenSim.UserServer | 48 | namespace OpenSim.UserServer |
49 | { | 49 | { |
50 | public delegate void AddNewSessionHandler(Login loginData); | 50 | public delegate bool AddNewSessionHandler(ulong regionHandle, Login loginData); |
51 | /// <summary> | 51 | /// <summary> |
52 | /// When running in local (default) mode , handles client logins. | 52 | /// When running in local (default) mode , handles client logins. |
53 | /// </summary> | 53 | /// </summary> |
@@ -196,7 +196,8 @@ namespace OpenSim.UserServer | |||
196 | { | 196 | { |
197 | ((LocalGridBase)m_gridServer).AddNewSession(_login); | 197 | ((LocalGridBase)m_gridServer).AddNewSession(_login); |
198 | }*/ | 198 | }*/ |
199 | AddSession(_login); | 199 | ulong reghand = Helpers.UIntsToLong((regionX * 256), (regionY * 256)); |
200 | AddSession(reghand,_login); | ||
200 | 201 | ||
201 | return response; | 202 | return response; |
202 | } | 203 | } |