|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kom.gateway.Environment
Environment data for a client session
Field Summary | |
(package private) ServerConfig |
config
Current server configuration |
(package private) java.lang.String |
cursor
Identifies current user session |
Gateway |
gateway
Thread supervisor |
private long |
lastAccess
|
protected java.util.Date |
loginDate
Time when user logged in |
(package private) KomData |
newsData
News status information for the current user |
(package private) KomData |
userData
Selected data for the current user |
Constructor Summary | |
Environment(Gateway gateway,
ServerConfig config)
Constructor |
Method Summary | |
java.lang.String |
getCursor()
Gets current client id |
long |
getLastAccess()
Gets last access time for current user |
java.util.Date |
getLoginDate()
Gets the login date and time |
void |
setCursor(java.lang.String cursor)
Sets current client id |
void |
update(java.util.Observable o,
java.lang.Object type)
The observer Object has changed. |
void |
updateLastAccess()
Updates last access time for current user |
Methods inherited from class java.lang.Object |
|
Field Detail |
ServerConfig config
public Gateway gateway
protected java.util.Date loginDate
private long lastAccess
java.lang.String cursor
KomData userData
KomData newsData
Constructor Detail |
public Environment(Gateway gateway, ServerConfig config)
gateway
- Client supervisor objectMethod Detail |
public java.util.Date getLoginDate()
public java.lang.String getCursor()
public void setCursor(java.lang.String cursor)
public long getLastAccess()
public void updateLastAccess()
public void update(java.util.Observable o, java.lang.Object type)
o
- The Observable instancetype
- The object (Frame type)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |