From dc80d13466e77f4eafc80a686126baabeba463ff Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sat, 26 Dec 2009 18:11:13 -0800 Subject: [PATCH] More beef to the IPresenceService interface. --- OpenSim/Services/Interfaces/IPresenceService.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/OpenSim/Services/Interfaces/IPresenceService.cs b/OpenSim/Services/Interfaces/IPresenceService.cs index 4de57e3ac8..e8babbf976 100644 --- a/OpenSim/Services/Interfaces/IPresenceService.cs +++ b/OpenSim/Services/Interfaces/IPresenceService.cs @@ -47,6 +47,17 @@ namespace OpenSim.Services.Interfaces public interface IPresenceService { - bool Report(PresenceInfo presence); + // this should really be: + //bool LoginAgent(UUID userID, UUID agentID, UUID sessionID, UUID secureSessionID); + // but we'd have to add userID to the agents table + bool LoginAgent(UUID agentID, UUID sessionID, UUID secureSessionID); + bool LogoutAgent(UUID agentID); + bool LogoutAllAgents(UUID regionID); + + bool AgentArriving(UUID agentID, UUID regionID); + bool AgentLeaving(UUID agentID, UUID regionID); + + bool TryGetAgent(UUID agentID, out PresenceInfo presence); + bool TryGetAgents(UUID[] agentIDs, out PresenceInfo[] presences); } }