aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-23 05:16:07 +0000
committerMelanie Thielker2008-11-23 05:16:07 +0000
commitcbd02218704287640ba5c7b564440a6590e038cf (patch)
treee600fd4868bce3e3d007d6d1894dd814d948692a /OpenSim/Framework
parentMantis#2660. Thank you kindly, Ruud Lathrop for a patch that: (diff)
downloadopensim-SC-cbd02218704287640ba5c7b564440a6590e038cf.zip
opensim-SC-cbd02218704287640ba5c7b564440a6590e038cf.tar.gz
opensim-SC-cbd02218704287640ba5c7b564440a6590e038cf.tar.bz2
opensim-SC-cbd02218704287640ba5c7b564440a6590e038cf.tar.xz
Plumb in the presence notifications and region shutdown/restart messages
from the presence module to the message server, through the user server and on into the database. This should fix the "Already logged in" issue that grids see after a sim crashes, or a user crashes out of a sim. Not yet a 100% solution for friends, but getting there.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Communications/UserManagerBase.cs8
-rw-r--r--OpenSim/Framework/IUserData.cs2
2 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs
index bc1a593..46b28d7 100644
--- a/OpenSim/Framework/Communications/UserManagerBase.cs
+++ b/OpenSim/Framework/Communications/UserManagerBase.cs
@@ -87,6 +87,14 @@ namespace OpenSim.Framework.Communications
87 return null; 87 return null;
88 } 88 }
89 89
90 public void LogoutUsers(UUID regionID)
91 {
92 foreach (IUserDataPlugin plugin in _plugins)
93 {
94 plugin.LogoutUsers(regionID);
95 }
96 }
97
90 public void ResetAttachments(UUID userID) 98 public void ResetAttachments(UUID userID)
91 { 99 {
92 foreach (IUserDataPlugin plugin in _plugins) 100 foreach (IUserDataPlugin plugin in _plugins)
diff --git a/OpenSim/Framework/IUserData.cs b/OpenSim/Framework/IUserData.cs
index 07159cc..0936495 100644
--- a/OpenSim/Framework/IUserData.cs
+++ b/OpenSim/Framework/IUserData.cs
@@ -177,6 +177,8 @@ namespace OpenSim.Framework
177 void UpdateUserAppearance(UUID user, AvatarAppearance appearance); 177 void UpdateUserAppearance(UUID user, AvatarAppearance appearance);
178 178
179 void ResetAttachments(UUID userID); 179 void ResetAttachments(UUID userID);
180
181 void LogoutUsers(UUID regionID);
180 } 182 }
181 183
182 public class UserDataInitialiser : PluginInitialiserBase 184 public class UserDataInitialiser : PluginInitialiserBase