|
||||||||||
| 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 |
getProductName()
Get the Product Names |
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 |
setProductName(java.lang.String name)
Set the Product Names |
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.AdminObject |
|---|
getIdentifier, getName, getProperties, getPropertyValue |
| Constructor Detail |
|---|
public MMSession(java.lang.String[] identifierParts)
identifierParts - | Method Detail |
|---|
public java.lang.String toString()
toString in class MMAdminObjectObject.toString()public java.util.Date getLastPingTime()
getLastPingTime in interface Sessionpublic java.lang.String getLastPingTimeString()
public void setLastPingTime(long lastPingTime)
lastPingTime - public java.lang.String getStateAsString()
getStateAsString in interface Sessionpublic void setSessionState(int state)
state - public java.lang.String getApplicationName()
getApplicationName in interface Sessionpublic void setApplicationName(java.lang.String name)
name - public java.lang.String getProductName()
getProductName in interface Sessionpublic void setProductName(java.lang.String name)
name - public java.lang.String getSessionID()
getSessionID in interface Sessionpublic int getState()
getState in interface Sessionpublic java.lang.String getUserName()
getUserName in interface Sessionpublic void setUserName(java.lang.String userName)
userName - public java.lang.String getVDBName()
getVDBName in interface Sessionpublic void setVDBName(java.lang.String vdbName)
vdbName - public java.lang.String getVDBVersion()
getVDBVersion in interface Sessionpublic void setVDBVersion(java.lang.String vdbVersion)
vdbVersion - public void setIPAddress(java.lang.String ipAddress)
ipAddress - public java.lang.String getIPAddress()
getIPAddress in interface Sessionpublic 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 | |||||||||