From 2912aafe259727351eb9405532e45aa3501b7e9a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Mon, 25 Aug 2008 07:35:17 +0000 Subject: * This commit incorporates the heart of the OpenGridProtocol patch that is currently on Forge in a nice, friendly modular format. * There are a lot of changes and this is quite experimental. It's off by default, but you can turn it on by examining the bottom of the opensim.ini.example for the proper OpenSim.ini settings. Remember, you still need an agent domain.. * Furthermore, it isn't quite right when it comes to teleporting to remote regions (place_avatar) --- OpenSim/Region/Environment/Scenes/Scene.cs | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index a21f701..6f3267a 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -2599,6 +2599,17 @@ namespace OpenSim.Region.Environment.Scenes "[CONNECTION DEBUGGING]: Skipping this region for welcoming avatar {0} [{1}] at {2}", agent.AgentID, regionHandle, RegionInfo.RegionName); } + + } + + public void UpdateCircuitData(AgentCircuitData data) + { + m_authenticateHandler.UpdateAgentData(data); + } + + public bool ChangeCircuitCode(uint oldcc, uint newcc) + { + return m_authenticateHandler.TryChangeCiruitCode(oldcc, newcc); } protected void HandleLogOffUserFromGrid(ulong regionHandle, LLUUID AvatarID, LLUUID RegionSecret, string message) @@ -2664,6 +2675,18 @@ namespace OpenSim.Region.Environment.Scenes m_capsHandlers[agentId] = cap; } + public Caps GetCapsHandlerForUser(LLUUID agentId) + { + lock (m_capsHandlers) + { + if (m_capsHandlers.ContainsKey(agentId)) + { + return m_capsHandlers[agentId]; + } + } + return null; + } + /// /// Remove the caps handler for a given agent. /// @@ -3838,6 +3861,12 @@ namespace OpenSim.Region.Environment.Scenes m_httpListener.AddStreamHandler(handler); } + public bool AddLLSDHandler(string path, LLSDMethod handler) + { + return m_httpListener.AddLLSDHandler(path, handler); + } + + public void RemoveStreamHandler(string httpMethod, string path) { m_httpListener.RemoveStreamHandler(httpMethod, path); @@ -3848,6 +3877,11 @@ namespace OpenSim.Region.Environment.Scenes m_httpListener.RemoveHTTPHandler(httpMethod, path); } + public bool RemoveLLSDHandler(string path, LLSDMethod handler) + { + return m_httpListener.RemoveLLSDHandler(path, handler); + } + #endregion #region Avatar Appearance Default -- cgit v1.1