aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/PresenceService
diff options
context:
space:
mode:
authorDiva Canto2010-01-02 18:18:13 -0800
committerDiva Canto2010-01-02 18:18:13 -0800
commit08b507517b8dc33f66de1e0815af330bb3c54696 (patch)
treefd12909bc3ff48e02f751601181be56ed38b6e3d /OpenSim/Services/PresenceService
parent* Converters from new AvatarData to old AvatarAppearance and vice-versa (diff)
downloadopensim-SC_OLD-08b507517b8dc33f66de1e0815af330bb3c54696.zip
opensim-SC_OLD-08b507517b8dc33f66de1e0815af330bb3c54696.tar.gz
opensim-SC_OLD-08b507517b8dc33f66de1e0815af330bb3c54696.tar.bz2
opensim-SC_OLD-08b507517b8dc33f66de1e0815af330bb3c54696.tar.xz
Test client for remote presence connector, and for the service itself. Connector seems to work well.
Diffstat (limited to 'OpenSim/Services/PresenceService')
-rw-r--r--OpenSim/Services/PresenceService/PresenceService.cs6
-rw-r--r--OpenSim/Services/PresenceService/PresenceServiceBase.cs2
2 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Services/PresenceService/PresenceService.cs b/OpenSim/Services/PresenceService/PresenceService.cs
index 7da0f23..2884199 100644
--- a/OpenSim/Services/PresenceService/PresenceService.cs
+++ b/OpenSim/Services/PresenceService/PresenceService.cs
@@ -82,6 +82,8 @@ namespace OpenSim.Services.PresenceService
82 82
83 m_Database.Store(data); 83 m_Database.Store(data);
84 84
85 m_log.DebugFormat("[PRESENCE SERVICE]: LoginAgent {0} with session {1} and ssession {2}",
86 userID, sessionID, secureSessionID);
85 return true; 87 return true;
86 } 88 }
87 89
@@ -93,7 +95,7 @@ namespace OpenSim.Services.PresenceService
93 95
94 PresenceData[] d = m_Database.Get("UserID", data.UserID); 96 PresenceData[] d = m_Database.Get("UserID", data.UserID);
95 97
96 m_log.WarnFormat("[PRESENCE SERVICE]: LogoutAgent {0} with {1} sessions currently present", data.UserID, d.Length); 98 m_log.DebugFormat("[PRESENCE SERVICE]: LogoutAgent {0} with {1} sessions currently present", data.UserID, d.Length);
97 if (d.Length > 1) 99 if (d.Length > 1)
98 { 100 {
99 m_Database.Delete("UserID", data.UserID); 101 m_Database.Delete("UserID", data.UserID);
@@ -117,7 +119,7 @@ namespace OpenSim.Services.PresenceService
117 119
118 public bool ReportAgent(UUID sessionID, UUID regionID, Vector3 position, Vector3 lookAt) 120 public bool ReportAgent(UUID sessionID, UUID regionID, Vector3 position, Vector3 lookAt)
119 { 121 {
120 m_log.DebugFormat("[PRESENCE SERVICE]: ReportAgent with session {0} in region {1}", sessionID, regionID); 122 //m_log.DebugFormat("[PRESENCE SERVICE]: ReportAgent with session {0} in region {1}", sessionID, regionID);
121 try 123 try
122 { 124 {
123 PresenceData pdata = m_Database.Get(sessionID); 125 PresenceData pdata = m_Database.Get(sessionID);
diff --git a/OpenSim/Services/PresenceService/PresenceServiceBase.cs b/OpenSim/Services/PresenceService/PresenceServiceBase.cs
index 3ca70c1..86fd103 100644
--- a/OpenSim/Services/PresenceService/PresenceServiceBase.cs
+++ b/OpenSim/Services/PresenceService/PresenceServiceBase.cs
@@ -77,7 +77,7 @@ namespace OpenSim.Services.PresenceService
77 77
78 m_Database = LoadPlugin<IPresenceData>(dllName, new Object[] { connString, realm }); 78 m_Database = LoadPlugin<IPresenceData>(dllName, new Object[] { connString, realm });
79 if (m_Database == null) 79 if (m_Database == null)
80 throw new Exception("Could not find a storage interface in the given module"); 80 throw new Exception("Could not find a storage interface in the given module " + dllName);
81 81
82 } 82 }
83 } 83 }