From cb828c98242bf11294a9b085d8f186e37f1239e0 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Tue, 26 Feb 2008 08:31:00 +0000 Subject: * More Message server stuff. Still not ready. --- OpenSim/Grid/UserServer/Main.cs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'OpenSim/Grid/UserServer/Main.cs') diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index 3a3b8b6..fcf9de6 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs @@ -98,6 +98,7 @@ namespace OpenSim.Grid.UserServer m_messagesService = new MessageServersConnector(); m_loginService.OnUserLoggedInAtLocation += NotifyMessageServersUserLoggedInToLocation; + m_userManager.OnLogOffUser += NotifyMessageServersUserLoggOff; m_log.Info("[REGION]: Starting HTTP process"); BaseHttpServer httpServer = new BaseHttpServer(Cfg.HttpPort); @@ -225,10 +226,18 @@ namespace OpenSim.Grid.UserServer m_console.Notice("response got"); } - public void NotifyMessageServersUserLoggedInToLocation(LLUUID agentID, LLUUID sessionID, LLUUID RegionID, ulong regionhandle, LLVector3 Position) + public void NotifyMessageServersUserLoggOff(LLUUID agentID) + { + m_messagesService.TellMessageServersAboutUserLogoff(agentID); + } + + public void NotifyMessageServersUserLoggedInToLocation(LLUUID agentID, LLUUID sessionID, LLUUID RegionID, + ulong regionhandle, float positionX, float positionY, + float positionZ, string firstname, string lastname) { - m_messagesService.TellMessageServersAboutUser(agentID, sessionID, RegionID, regionhandle, Position); + m_messagesService.TellMessageServersAboutUser( agentID, sessionID, RegionID, regionhandle, positionX, + positionY, positionZ, firstname, lastname); } /*private void ConfigDB(IGenericConfig configData) -- cgit v1.1