aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications
diff options
context:
space:
mode:
authorAdam Frisby2008-09-14 04:13:15 +0000
committerAdam Frisby2008-09-14 04:13:15 +0000
commit3476dd56ea9a6b2e597d2a4e8abf679ac0778681 (patch)
tree11ba00686669e656eca605e42e7e4dca70b8eb04 /OpenSim/Region/Communications
parentThank you kindly, CMickeyb for a patch that: (diff)
downloadopensim-SC-3476dd56ea9a6b2e597d2a4e8abf679ac0778681.zip
opensim-SC-3476dd56ea9a6b2e597d2a4e8abf679ac0778681.tar.gz
opensim-SC-3476dd56ea9a6b2e597d2a4e8abf679ac0778681.tar.bz2
opensim-SC-3476dd56ea9a6b2e597d2a4e8abf679ac0778681.tar.xz
* Converted a number of methods within the login processes from private to protected.
* Made several methods virtual to allow derivative overrides. * Minor cleanups.
Diffstat (limited to 'OpenSim/Region/Communications')
-rw-r--r--OpenSim/Region/Communications/Local/LocalLoginService.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalLoginService.cs b/OpenSim/Region/Communications/Local/LocalLoginService.cs
index 2f7fdb7..41093c1 100644
--- a/OpenSim/Region/Communications/Local/LocalLoginService.cs
+++ b/OpenSim/Region/Communications/Local/LocalLoginService.cs
@@ -41,18 +41,18 @@ namespace OpenSim.Region.Communications.Local
41 41
42 public class LocalLoginService : LoginService 42 public class LocalLoginService : LoginService
43 { 43 {
44 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 44 protected static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
45 45
46 private CommunicationsLocal m_Parent; 46 protected CommunicationsLocal m_Parent;
47 47
48 private NetworkServersInfo serversInfo; 48 protected NetworkServersInfo serversInfo;
49 private uint defaultHomeX; 49 protected uint defaultHomeX;
50 private uint defaultHomeY; 50 protected uint defaultHomeY;
51 private bool authUsers = false; 51 protected bool authUsers = false;
52 52
53 public event LoginToRegionEvent OnLoginToRegion; 53 public event LoginToRegionEvent OnLoginToRegion;
54 54
55 private LoginToRegionEvent handlerLoginToRegion = null; // OnLoginToRegion; 55 protected LoginToRegionEvent handlerLoginToRegion = null; // OnLoginToRegion;
56 56
57 public LocalLoginService(UserManagerBase userManager, string welcomeMess, 57 public LocalLoginService(UserManagerBase userManager, string welcomeMess,
58 CommunicationsLocal parent, NetworkServersInfo serversInfo, 58 CommunicationsLocal parent, NetworkServersInfo serversInfo,
@@ -246,7 +246,7 @@ namespace OpenSim.Region.Communications.Local
246 /// <param name="user"></param> 246 /// <param name="user"></param>
247 /// <param name="response"></param> 247 /// <param name="response"></param>
248 /// <returns>true if the region was successfully contacted, false otherwise</returns> 248 /// <returns>true if the region was successfully contacted, false otherwise</returns>
249 private bool PrepareLoginToRegion(RegionInfo regionInfo, UserProfileData user, LoginResponse response) 249 protected bool PrepareLoginToRegion(RegionInfo regionInfo, UserProfileData user, LoginResponse response)
250 { 250 {
251 response.SimAddress = regionInfo.ExternalEndPoint.Address.ToString(); 251 response.SimAddress = regionInfo.ExternalEndPoint.Address.ToString();
252 response.SimPort = (uint)regionInfo.ExternalEndPoint.Port; 252 response.SimPort = (uint)regionInfo.ExternalEndPoint.Port;