|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.admin.objects.MMAdminObject
com.metamatrix.admin.objects.MMSession
public class MMSession
MetaMatrix Session
Field Summary |
---|
Fields inherited from interface com.metamatrix.admin.api.objects.Session |
---|
ACTIVE_STATE_DESC, CLOSED_STATE_DESC, EXPIRED_STATE_DESC, PASSIVATED_STATE_DESC, STATE_ACTIVE, STATE_CLOSED, STATE_EXPIRED, STATE_PASSIVATED, STATE_TERMINATED, TERMINATED_STATE_DESC, UNKNOWN_STATE_DESC |
Fields inherited from interface com.metamatrix.admin.api.objects.AdminObject |
---|
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD |
Constructor Summary | |
---|---|
MMSession(java.lang.String[] identifierParts)
constructor |
Method Summary | |
---|---|
java.lang.String |
getApplicationName()
Get the Application Name |
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 checked to see if the server is still available |
java.lang.String |
getLastPingTimeString()
Get the Time the User logged into the System as a String |
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 SessionState |
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 |
void |
setApplicationName(java.lang.String name)
Set the ApplicationName |
void |
setHostName(java.lang.String clientMachineName)
Set information defined by the client at runtime |
void |
setIPAddress(java.lang.String ipAddress)
Set IPAddress for this Session |
void |
setLastPingTime(long lastPingTime)
Set the Last time Client has checked to see if the server is still available |
void |
setSessionState(int state)
Set the SessionState |
void |
setUserName(java.lang.String userName)
Set User Name for this Session |
void |
setVDBName(java.lang.String vdbName)
Set VDBName for this Session |
void |
setVDBVersion(java.lang.String vdbVersion)
Set VDBVersion for this Session |
java.lang.String |
toString()
Convert a Session to a String |
Methods inherited from class com.metamatrix.admin.objects.MMAdminObject |
---|
buildIdentifier, buildIdentifierArray, buildIdentifierList, getCreated, getCreatedBy, getCreatedDate, getIdentifier, getIdentifierArray, getLastChangedBy, getLastChangedDate, getLastUpdated, getLastUpdatedBy, getName, getNameFromIdentifier, getObjectType, getParentName, getProperties, getPropertiesAsString, getPropertyValue, getProps, isDeployed, isEnabled, isRegistered, setCreated, setCreatedBy, setDeployed, setEnabled, setIdentifier, setLastUpdated, setLastUpdatedBy, setProperties, setRegistered |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.metamatrix.admin.api.objects.Session |
---|
getCreatedDate |
Methods inherited from interface com.metamatrix.admin.api.objects.AdminObject |
---|
getIdentifier, getName, getProperties, getPropertyValue |
Constructor Detail |
---|
public MMSession(java.lang.String[] identifierParts)
identifierParts
- Method Detail |
---|
public java.lang.String toString()
toString
in class MMAdminObject
Object.toString()
public java.util.Date getLastPingTime()
getLastPingTime
in interface Session
public java.lang.String getLastPingTimeString()
public void setLastPingTime(long lastPingTime)
lastPingTime
- public java.lang.String getStateAsString()
getStateAsString
in interface Session
public void setSessionState(int state)
state
- public java.lang.String getApplicationName()
getApplicationName
in interface Session
public void setApplicationName(java.lang.String name)
name
- public java.lang.String getSessionID()
getSessionID
in interface Session
public int getState()
getState
in interface Session
public java.lang.String getUserName()
getUserName
in interface Session
public void setUserName(java.lang.String userName)
userName
- public java.lang.String getVDBName()
getVDBName
in interface Session
public void setVDBName(java.lang.String vdbName)
vdbName
- public java.lang.String getVDBVersion()
getVDBVersion
in interface Session
public void setVDBVersion(java.lang.String vdbVersion)
vdbVersion
- public void setIPAddress(java.lang.String ipAddress)
ipAddress
- public java.lang.String getIPAddress()
getIPAddress
in interface Session
public void setHostName(java.lang.String clientMachineName)
clientMachineName
- public java.lang.String getHostName()
getHostName
in interface Session
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |