|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.dse.base.DataElement
com.ibm.dse.base.DataCollection
com.ibm.dse.base.KeyedCollection
com.ibm.dse.base.SessionEntry
This class only should be used by the Context class.
Field Summary |
---|
Fields inherited from class com.ibm.dse.base.KeyedCollection |
---|
elements, nestedElements, nextItem, order |
Fields inherited from class com.ibm.dse.base.DataElement |
---|
description, externalizer, name, parameters, state |
Constructor Summary | |
---|---|
SessionEntry()
This is the default constructor used to create a SessionEntry object. |
|
SessionEntry(java.lang.String aName)
This constructor creates a SessionEntry object with the specifed name. |
|
SessionEntry(java.lang.String type,
java.lang.Long timeStamp,
java.lang.String aSession,
java.lang.String aTID,
Context aCurrentContext)
This constructor creates a SessionEntry object with the session, TID, and context. |
|
SessionEntry(java.lang.String type,
java.lang.Long timeStamp,
java.lang.String aSession,
java.lang.String aTID,
Context aCurrentContext,
java.util.Locale locale)
This constructor creates a SessionEntry object with the session, TID, context and locale. |
|
SessionEntry(java.lang.String type,
java.lang.Long timeStamp,
java.lang.String aSession,
java.lang.String aTID,
Context aCurrentContext,
java.lang.Object aSessionObject)
This constructor creates a SessionEntry object with the session, TID, context and a Session Object. |
|
SessionEntry(java.lang.String type,
java.lang.Long timeStamp,
java.lang.String aSession,
java.lang.String aTID,
Context aCurrentContext,
java.lang.Object aSessionObject,
java.util.Locale locale)
This constructor creates a SessionEntry object with the session, TID, context,Session Object and locale. |
|
SessionEntry(java.lang.String type,
java.lang.Long timeStamp,
java.lang.String aSession,
java.lang.String aTID,
Context aCurrentContext,
java.lang.Object aSessionObject,
java.lang.String ipAddress,
java.lang.Integer port)
This constructor creates a SessionEntry object with the session, TID, context, Session Object, ipAddress and port. |
Method Summary | |
---|---|
Context |
getCurrentContext()
Gets the current context. |
boolean |
getExpired()
Gets the expired value. |
java.lang.String |
getIpAddress()
Gets the ipAddress. |
java.util.Locale |
getLocale()
Gets the locale. |
java.lang.Integer |
getPort()
Gets the port. |
java.lang.String |
getSessionId()
Gets the sessionId. |
java.lang.Object |
getSessionObject()
Gets the sessionObject. |
java.lang.String |
getTID()
Gets the TID. |
java.lang.Long |
getTimeStamp()
Gets the timeStamp. |
java.lang.String |
getType()
Gets the type. |
void |
remove()
Removes the session. |
void |
setExpired(boolean isExpired)
Sets the expired value. |
void |
setIpAddress(java.lang.String anIpAddress)
Sets the ipAddress. |
void |
setLocale(java.util.Locale localeToSet)
Sets the locale. |
void |
setPort(java.lang.Integer aPort)
Sets the port. |
void |
setSessionObject(java.lang.Object aSessionObject)
Sets the session object. |
void |
setTimeStamp(java.lang.Long aTimeStamp)
Sets the timeStamp. |
void |
setType(java.lang.String aType)
Sets the client type. |
Methods inherited from class com.ibm.dse.base.DataCollection |
---|
getValueAt, nestedElements, nestedElements, nestedFields, nestedKeyedCollections, nestedQualifiedElements, validate |
Methods inherited from class com.ibm.dse.base.DataElement |
---|
externalizer, getDescription, getDescriptor, getErrorInfo, getExternalizer, getKey, getName, getParameter, getParameters, getState, getTagName, isAmended, readExternal, readObject, removeExternal, setAmended, setDescription, setDescriptor, setErrorInfo, setExternalizer, setName, setParameter, setParameters, setState, toTags, validate, validateObject, writeExternal |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SessionEntry()
public SessionEntry(java.lang.String aName) throws java.io.IOException
aName
- java.lang.Stringpublic SessionEntry(java.lang.String type, java.lang.Long timeStamp, java.lang.String aSession, java.lang.String aTID, Context aCurrentContext)
type
- java.lang.StringtimeStamp
- java.lang.LongaSession
- java.lang.StringaTID
- java.lang.StringaCurrentContext
- com.ibm.dse.base.Contextpublic SessionEntry(java.lang.String type, java.lang.Long timeStamp, java.lang.String aSession, java.lang.String aTID, Context aCurrentContext, java.lang.Object aSessionObject)
type
- java.lang.StringtimeStamp
- java.lang.LongaSession
- java.lang.StringaTID
- java.lang.StringaCurrentContext
- com.ibm.dse.base.ContextaSessionObject
- Objectpublic SessionEntry(java.lang.String type, java.lang.Long timeStamp, java.lang.String aSession, java.lang.String aTID, Context aCurrentContext, java.lang.Object aSessionObject, java.util.Locale locale)
type
- java.lang.StringtimeStamp
- java.lang.LongaSession
- java.lang.StringaTID
- java.lang.StringaCurrentContext
- com.ibm.dse.base.ContextaSessionObject
- Objectlocale
- java.util.Localepublic SessionEntry(java.lang.String type, java.lang.Long timeStamp, java.lang.String aSession, java.lang.String aTID, Context aCurrentContext, java.util.Locale locale)
type
- java.lang.StringtimeStamp
- java.lang.LongaSession
- java.lang.StringaTID
- java.lang.StringaCurrentContext
- com.ibm.dse.base.Contextlocale
- java.util.Localepublic SessionEntry(java.lang.String type, java.lang.Long timeStamp, java.lang.String aSession, java.lang.String aTID, Context aCurrentContext, java.lang.Object aSessionObject, java.lang.String ipAddress, java.lang.Integer port)
type
- java.lang.StringtimeStamp
- java.lang.LongaSession
- java.lang.StringaTID
- java.lang.StringaCurrentContext
- com.ibm.dse.base.ContextipAddress
- Stringport
- IntegerMethod Detail |
public Context getCurrentContext() throws DSEInvalidRequestException
DSEInvalidRequestException
public boolean getExpired() throws DSEInvalidRequestException
DSEInvalidRequestException
public java.util.Locale getLocale() throws DSEInvalidRequestException
DSEInvalidRequestException
public java.lang.String getSessionId() throws DSEInvalidRequestException
DSEInvalidRequestException
public java.lang.Object getSessionObject() throws DSEInvalidRequestException
DSEInvalidRequestException
public java.lang.String getTID() throws DSEInvalidRequestException
DSEInvalidRequestException
public java.lang.Long getTimeStamp() throws DSEInvalidRequestException
DSEInvalidRequestException
public java.lang.String getType() throws DSEInvalidRequestException
DSEInvalidRequestException
public void remove() throws DSEInvalidArgumentException
DSEInvalidArgumentException
public void setExpired(boolean isExpired) throws DSEInvalidArgumentException
isExpired
- boolean - True if the session is expired
DSEInvalidArgumentException
public void setLocale(java.util.Locale localeToSet) throws DSEInvalidArgumentException
DSEInvalidArgumentException
public void setSessionObject(java.lang.Object aSessionObject) throws DSEInvalidArgumentException
DSEInvalidArgumentException
public void setTimeStamp(java.lang.Long aTimeStamp) throws DSEInvalidArgumentException
aTimeStamp
- Long
DSEInvalidArgumentException
public void setType(java.lang.String aType) throws DSEInvalidArgumentException
aType
- String
DSEInvalidArgumentException
public java.lang.String getIpAddress() throws DSEInvalidRequestException
DSEInvalidRequestException
public void setIpAddress(java.lang.String anIpAddress) throws DSEInvalidArgumentException
anIpAddress
- String
DSEInvalidArgumentException
public java.lang.Integer getPort() throws DSEInvalidRequestException
DSEInvalidRequestException
public void setPort(java.lang.Integer aPort) throws DSEInvalidArgumentException
aPort
- Integer
DSEInvalidArgumentException
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |