Package com.priint.pubserver.session
Class PubServerSimpleSession
java.lang.Object
com.priint.pubserver.session.PubServerSimpleSession
- All Implemented Interfaces:
Serializable
Simple session object representing a pubserver core user.
For a comet user please use the SessionOnfo object.
- Since:
- 4.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()getId()voidSet session host.voidSet session id.voidsetLastAccessTime(Date lastAccessTime) Set session last access time.voidsetPubServerMap(PubServerMap pubServerMap) Set map of session attributes of simple PubServer session.voidsetStartTimestamp(Date startTimestamp) Set start timestamp.
-
Constructor Details
-
PubServerSimpleSession
public PubServerSimpleSession()
-
-
Method Details
-
getId
- Returns:
- Session id. Identifier should come from the session object.
-
setId
Set session id. Identifier should come from the session object. -
getHost
- Returns:
- Session host. The host should come from the session object.
-
setHost
Set session host. The host should come from the session object. -
getLastAccessTime
- Returns:
- Session last access time. The date should come from the session object.
-
setLastAccessTime
Set session last access time. The date should come from the session object. -
getPubServerMap
- Returns:
- Map of session attributes of simple PubServer session.
-
setPubServerMap
Set map of session attributes of simple PubServer session. -
getStartTimestamp
- Returns:
- Start timestamp date. The date should come from the session object.
-
setStartTimestamp
Set start timestamp. Date should be set from session object.
-