Package de.xima.fc.user.presence.event
Class PresenceUserLeftEvent
- java.lang.Object
-
- de.xima.fc.user.presence.event.PresenceUserLeftEvent
-
- All Implemented Interfaces:
Serializable
public final class PresenceUserLeftEvent extends Object implements Serializable
Fired when a user or view leaves a resource, according to the configured tracking strategy. The user strategy deduplicates by user ID; the view strategy fires once per tracking ID. Observers can use the event to refresh resource-specific presence views.- Since:
- 8.6.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PresenceUserLeftEvent(ResourceKey resourceKey, UserInfo user)Creates a newPresenceUserLeftEventinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ResourceKeygetResourceKey()The resource key of the resource that was left.UserInfogetUser()The user that left the resource.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
PresenceUserLeftEvent
public PresenceUserLeftEvent(ResourceKey resourceKey, UserInfo user)
Creates a newPresenceUserLeftEventinstance.- Parameters:
resourceKey- The resource key of the resource that was left.user- The user that left the resource.- Since:
- 8.6.0, 8.6.0
-
-
Method Detail
-
getResourceKey
public ResourceKey getResourceKey()
The resource key of the resource that was left.- Since:
- 8.6.0
-
getUser
public UserInfo getUser()
The user that left the resource.- Since:
- 8.6.0
-
-