From f79400e94ca6f8b609f5d4cbe25c5bbc04b61b77 Mon Sep 17 00:00:00 2001
From: Diva Canto
Date: Sun, 1 May 2011 18:22:53 -0700
Subject: Broke down Caps.cs into a generic Caps object that simply
registers/unregisters capabilities and a specific bunch of capability
implementations in Linden space called BunchOfCaps. Renamed a few methods
that were misnomers. Compiles but doesn't work.
---
OpenSim/Region/Framework/Interfaces/ICapabilitiesModule.cs | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
(limited to 'OpenSim/Region/Framework/Interfaces')
diff --git a/OpenSim/Region/Framework/Interfaces/ICapabilitiesModule.cs b/OpenSim/Region/Framework/Interfaces/ICapabilitiesModule.cs
index 73bffa0..522c82d 100644
--- a/OpenSim/Region/Framework/Interfaces/ICapabilitiesModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/ICapabilitiesModule.cs
@@ -34,31 +34,27 @@ namespace OpenSim.Region.Framework.Interfaces
{
public interface ICapabilitiesModule
{
- void NewUserConnection(AgentCircuitData agent);
-
///
/// Add a caps handler for the given agent. If the CAPS handler already exists for this agent,
/// then it is replaced by a new CAPS handler.
- ///
- /// FIXME: On login this is called twice, once for the login and once when the connection is made.
- /// This is somewhat innefficient and should be fixed. The initial login creation is necessary
- /// since the client asks for capabilities immediately after being informed of the seed.
///
///
///
- void AddCapsHandler(UUID agentId);
+ void CreateCaps(UUID agentId);
///
/// Remove the caps handler for a given agent.
///
///
- void RemoveCapsHandler(UUID agentId);
+ void RemoveCaps(UUID agentId);
///
/// Will return null if the agent doesn't have a caps handler registered
///
///
- Caps GetCapsHandlerForUser(UUID agentId);
+ Caps GetCapsForUser(UUID agentId);
+
+ void SetAgentCapsSeeds(AgentCircuitData agent);
Dictionary GetChildrenSeeds(UUID agentID);
--
cgit v1.1