Package de.xima.fc.user.presence.event
Class PresenceUserJoinedEvent
- java.lang.Object
-
- de.xima.fc.user.presence.event.PresenceUserJoinedEvent
-
- All Implemented Interfaces:
Serializable
public final class PresenceUserJoinedEvent extends Object implements Serializable
Fired when a user or view joins 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 PresenceUserJoinedEvent(ResourceKey resourceKey, UserInfo user)Creates a newPresenceUserJoinedEventinstance.
-
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 joined.UserInfogetUser()The user that joined the resource.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
PresenceUserJoinedEvent
public PresenceUserJoinedEvent(ResourceKey resourceKey, UserInfo user)
Creates a newPresenceUserJoinedEventinstance.- Parameters:
resourceKey- The resource key of the resource that was joined.user- The user that joined the resource.- Since:
- 8.6.0, 8.6.0
-
-
Method Detail
-
getResourceKey
public ResourceKey getResourceKey()
The resource key of the resource that was joined.- Since:
- 8.6.0
-
getUser
public UserInfo getUser()
The user that joined the resource.- Since:
- 8.6.0
-
-