|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISession
Represents the most basic type of "Session", loosely modeled after the HTTP Session used in J2EE applications.
Method Summary | |
---|---|
void |
end()
Ends the session, no further modifications should be allowed. |
String |
getClientId()
Returns the client id associated with this session. |
long |
getCreated()
Returns creation time in milliseconds. |
String |
getDestinationDirectory()
Returns the directory used to store session resources. |
String |
getSessionId()
Returns the session's identifier. |
boolean |
isActive()
Returns the active state of the session. |
void |
reset()
Resets a specified set of internal parameters. |
void |
setClientId(String clientId)
Sets the associated client id. |
void |
setDestinationDirectory(String destinationDirectory)
Sets where session resources will be located if persisted to disk. |
Method Detail |
---|
long getCreated()
String getSessionId()
void reset()
boolean isActive()
void end()
void setClientId(String clientId)
clientId
- client idString getClientId()
void setDestinationDirectory(String destinationDirectory)
destinationDirectory
- destination directoryString getDestinationDirectory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |