|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implemented by objects that represent sessions established with a SilverStream Server.
AgiAdmServer
Method Summary | |
String |
getHost()
Get the host name. |
String |
getID()
Get the ID of the session. |
int |
getIdleTime()
Get the idle time of the session. |
String |
getProtocolVersionNumber()
Tells what version of the client/server protocol is being used by this client. |
String |
getState()
Get the state the session is in (Busy or Idle). |
String |
getUserName()
Get the name of the user who started the session. |
boolean |
isUserLoggedIn()
Return true if the user has logged in this session, false otherwise. |
Method Detail |
public String getID()
// Get the session information. AgiAdmSession sess = ... // Get the ID of the session. String id = sess.getID();
public String getUserName()
// Get the session information. AgiAdmSession sess = ... // Get the name of the user. String userName = sess.getUserName();
public String getState()
A session is busy if it's "alive". As soon as the connection is lost, the session's state turns into "Idle", that is, it can be re-established using the session cookie and go back into the "Busy" state.
// Get the session information. AgiAdmSession sess = ... // Get the state. String state = sess.getState();
public String getHost()
// Get the session information. AgiAdmSession sess = ... // Get the name of the host. String host = sess.getHost();
public int getIdleTime()
See AgiAdmSession.getState()
for the definition of "Idle".
// Get the session information. AgiAdmSession sess = ... // Get the idle time. int idleTime = sess.getIdleTime();
public boolean isUserLoggedIn()
// Get the session information. AgiAdmSession sess = ... // See if the user is logged in. boolean isLoggedIn = sess.isUserLoggedIn();
public String getProtocolVersionNumber()
// Get the session information. AgiAdmSession sess = ... // Get the protocol version number. String protocol = sess.getProtocolVersionNumber();
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |