|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Session
A Session is a lasting connection between a client and a MetaMatrix System. A user may be allowed to have multiple sessions active simultaneously.
a Session identifier gets automatically assigned to a connection when user logs into the system
Field Summary | |
---|---|
static java.lang.String |
ACTIVE_STATE_DESC
The description when the session is open (active). |
static java.lang.String |
CLOSED_STATE_DESC
The description when the session is closed - this state cannot change once it is reached. |
static java.lang.String |
EXPIRED_STATE_DESC
The description when the session has expired - this state cannot change once it is reached. |
static java.lang.String |
PASSIVATED_STATE_DESC
The description when the ejb server has passivated the session - it may become open again in the future |
static int |
STATE_ACTIVE
The session is open (active). |
static int |
STATE_CLOSED
The session is closed - this state cannot change once it is reached. |
static int |
STATE_EXPIRED
The session has expired - this state cannot change once it is reached. |
static int |
STATE_PASSIVATED
The ejb server has passivated the session - it may become open again in the future |
static int |
STATE_TERMINATED
The session is terminated - this state cannot change once it is reached. |
static java.lang.String |
TERMINATED_STATE_DESC
The description when the session is terminated - this state cannot change once it is reached. |
static java.lang.String |
UNKNOWN_STATE_DESC
The description when the state of the session is not known. |
Fields inherited from interface org.teiid.adminapi.AdminObject |
---|
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD |
Method Summary | |
---|---|
java.lang.String |
getApplicationName()
Get the Application Name |
java.util.Date |
getCreatedDate()
Get the time the Session was created. |
java.lang.String |
getHostName()
Get the host name of the machine the client is accessing from |
java.lang.String |
getIPAddress()
Get the IPAddress for this Session |
java.util.Date |
getLastPingTime()
Get the Last time Client has check to see if the server is still available |
java.lang.String |
getSessionID()
Get the unique MetaMatrix session within a given MetaMatrix System |
int |
getState()
Get the State of the Session |
java.lang.String |
getStateAsString()
Get the Session State as a String. |
java.lang.String |
getUserName()
Get User Name for this Session |
java.lang.String |
getVDBName()
Get the VDB Name for this Session |
java.lang.String |
getVDBVersion()
Get the VDB Version for this Session |
Methods inherited from interface org.teiid.adminapi.AdminObject |
---|
getIdentifier, getName, getProperties, getPropertyValue |
Field Detail |
---|
static final int STATE_ACTIVE
static final int STATE_PASSIVATED
static final int STATE_CLOSED
static final int STATE_EXPIRED
static final int STATE_TERMINATED
static final java.lang.String EXPIRED_STATE_DESC
static final java.lang.String ACTIVE_STATE_DESC
static final java.lang.String CLOSED_STATE_DESC
static final java.lang.String TERMINATED_STATE_DESC
static final java.lang.String PASSIVATED_STATE_DESC
static final java.lang.String UNKNOWN_STATE_DESC
Method Detail |
---|
java.util.Date getLastPingTime()
java.lang.String getStateAsString()
java.lang.String getApplicationName()
java.lang.String getSessionID()
int getState()
java.lang.String getUserName()
java.lang.String getVDBName()
java.lang.String getVDBVersion()
java.lang.String getIPAddress()
java.lang.String getHostName()
java.util.Date getCreatedDate()
Session
was created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |