Class SessionParticipants
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.session.SessionParticipants
-
public class SessionParticipants extends 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.
-
Constructor Summary
Constructors Constructor Description SessionParticipants(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(Map<String,String> sessionAttributes, SessionParticipantTypesRegistry registry)
Set<SessionParticipant>
getParticipants()
void
removeParticipant(SessionParticipant participant)
String
serialize()
String
toString()
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SessionParticipants
public SessionParticipants(String serializedState, SessionParticipantTypesRegistry registry)
-
SessionParticipants
public SessionParticipants(SessionParticipantTypesRegistry registry)
-
-
Method Detail
-
getFromSession
public static SessionParticipants getFromSession(Map<String,String> sessionAttributes, SessionParticipantTypesRegistry registry)
-
serialize
public String serialize()
-
addParticipant
public void addParticipant(SessionParticipant participant)
-
removeParticipant
public void removeParticipant(SessionParticipant participant)
-
getParticipants
public Set<SessionParticipant> getParticipants()
-
-