Class SessionParticipants
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.session.SessionParticipants
-
public class SessionParticipants extends java.lang.Object
Holds multipleSessionParticipant
s. Is stored as aLoginSession
attribute.- Author:
- K. Benedyczak
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SessionParticipants.AddParticipantToSessionTask
Session attribute updater adding a new SessionParticipant to the session.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KEY
-
Constructor Summary
Constructors Constructor Description SessionParticipants(java.lang.String serializedState, SessionParticipantTypesRegistry registry)
SessionParticipants(SessionParticipantTypesRegistry registry)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParticipant(SessionParticipant participant)
static SessionParticipants
getFromSession(java.util.Map<java.lang.String,java.lang.String> sessionAttributes, SessionParticipantTypesRegistry registry)
java.util.Set<SessionParticipant>
getParticipants()
void
removeParticipant(SessionParticipant participant)
java.lang.String
serialize()
java.lang.String
toString()
-
-
-
Field Detail
-
KEY
public static final java.lang.String KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SessionParticipants
public SessionParticipants(java.lang.String serializedState, SessionParticipantTypesRegistry registry)
-
SessionParticipants
public SessionParticipants(SessionParticipantTypesRegistry registry)
-
-
Method Detail
-
getFromSession
public static SessionParticipants getFromSession(java.util.Map<java.lang.String,java.lang.String> sessionAttributes, SessionParticipantTypesRegistry registry)
-
serialize
public java.lang.String serialize()
-
addParticipant
public void addParticipant(SessionParticipant participant)
-
removeParticipant
public void removeParticipant(SessionParticipant participant)
-
getParticipants
public java.util.Set<SessionParticipant> getParticipants()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-