diff options
author | Teravus Ovares | 2008-02-25 06:33:14 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-02-25 06:33:14 +0000 |
commit | b831a91852b34473f993f9a3e88ddd4e0c8455ca (patch) | |
tree | 3c61bfa3800274fed804812b6145f2d5388626bb /OpenSim/Grid/UserServer/MessageServersConnector.cs | |
parent | Update svn properties. (diff) | |
download | opensim-SC-b831a91852b34473f993f9a3e88ddd4e0c8455ca.zip opensim-SC-b831a91852b34473f993f9a3e88ddd4e0c8455ca.tar.gz opensim-SC-b831a91852b34473f993f9a3e88ddd4e0c8455ca.tar.bz2 opensim-SC-b831a91852b34473f993f9a3e88ddd4e0c8455ca.tar.xz |
* Message Server Linkages (still not ready for use so don't start it yet)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/UserServer/MessageServersConnector.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Grid/UserServer/MessageServersConnector.cs b/OpenSim/Grid/UserServer/MessageServersConnector.cs index 251644b..6535247 100644 --- a/OpenSim/Grid/UserServer/MessageServersConnector.cs +++ b/OpenSim/Grid/UserServer/MessageServersConnector.cs | |||
@@ -119,7 +119,7 @@ namespace OpenSim.Grid.UserServer | |||
119 | 119 | ||
120 | if (requestData.Contains("uri")) | 120 | if (requestData.Contains("uri")) |
121 | { | 121 | { |
122 | string URI = (string)requestData["URI"]; | 122 | string URI = (string)requestData["uri"]; |
123 | 123 | ||
124 | DeRegisterMessageServer(URI); | 124 | DeRegisterMessageServer(URI); |
125 | responseData["responsestring"] = "TRUE"; | 125 | responseData["responsestring"] = "TRUE"; |
@@ -153,6 +153,14 @@ namespace OpenSim.Grid.UserServer | |||
153 | public void TellMessageServersAboutUser(LLUUID agentID, LLUUID sessionID, LLUUID RegionID, ulong regionhandle, LLVector3 Position) | 153 | public void TellMessageServersAboutUser(LLUUID agentID, LLUUID sessionID, LLUUID RegionID, ulong regionhandle, LLVector3 Position) |
154 | { | 154 | { |
155 | // Loop over registered Message Servers ( AND THERE WILL BE MORE THEN ONE :D ) | 155 | // Loop over registered Message Servers ( AND THERE WILL BE MORE THEN ONE :D ) |
156 | if (MessageServers.Count > 0) | ||
157 | { | ||
158 | m_log.Info("[MSGCONNECTOR]: Sending login notice to registered message servers"); | ||
159 | } | ||
160 | else | ||
161 | { | ||
162 | m_log.Info("[MSGCONNECTOR]: No Message Servers registered, ignoring"); | ||
163 | } | ||
156 | foreach (MessageServerInfo serv in MessageServers.Values) | 164 | foreach (MessageServerInfo serv in MessageServers.Values) |
157 | { | 165 | { |
158 | NotifyMessageServerAboutUser(serv, agentID, sessionID, RegionID, regionhandle, Position); | 166 | NotifyMessageServerAboutUser(serv, agentID, sessionID, RegionID, regionhandle, Position); |