Class IdSessionUser
java.lang.Object
com.io7m.idstore.server.service.sessions.IdSessionUser
- All Implemented Interfaces:
IdSessionType
A controller for a single user session.
-
Constructor Summary
ConstructorsConstructorDescriptionIdSessionUser(UUID inUserId, IdSessionSecretIdentifier inSessionId) A controller for a single user session. -
Method Summary
Modifier and TypeMethodDescriptionid()voidmessageCurrentSet(IdSessionMessage inMessage) Set the current session message.voidDiscard the current message.toString()userId()
-
Constructor Details
-
IdSessionUser
A controller for a single user session.- Parameters:
inUserId- The user IDinSessionId- The session ID
-
-
Method Details
-
messageCurrentSet
Set the current session message.- Parameters:
inMessage- The message
-
messageCurrent
- Returns:
- The current session message
-
messageDiscard
public void messageDiscard()Discard the current message. -
id
- Specified by:
idin interfaceIdSessionType- Returns:
- The unique identifier for the session
-
userId
- Returns:
- The user ID
-
toString
-