|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.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.
Fields inherited from class com.ibm.dse.base.DataElement |
description,
name,
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.lang.Object aSessionObject)
This constructor creates a SessionEntry object with the session, TID, context and a Session Object. |
Method Summary | |
Context |
getCurrentContext()
Gets the current context. |
boolean |
getExpired()
Gets the expired value. |
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 |
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.KeyedCollection |
addElement,
addElement,
calculeNestedElements,
calculeNestedQualifiedElements,
clone,
getDynamic,
getElementAt,
getElementAt,
getElementAtAnyLevel,
getElementAtFirstLevel,
getElements,
getEnumeration,
getIndexOf,
getIndexOf,
getNestedElements,
getOrder,
getValue,
initializeFrom,
isDynamic,
readExternal,
removeAll,
removeElementAt,
removeElementAt,
removeElementAtFirstLevel,
reorderElements,
setDynamic,
setElements,
setOrder,
setValue,
setValueAt,
setValueAt,
size,
toString,
toStrings,
validate,
writeExternal |
Methods inherited from class com.ibm.dse.base.DataCollection |
getValueAt,
nestedElements,
nestedElements,
nestedFields,
nestedKeyedCollections,
nestedQualifiedElements |
Methods inherited from class com.ibm.dse.base.DataElement |
externalizer,
getDescription,
getDescriptor,
getErrorInfo,
getExternalizer,
getKey,
getName,
getState,
getTagName,
readExternal,
readObject,
removeExternal,
setDescription,
setDescriptor,
setErrorInfo,
setExternalizer,
setName,
setState,
toTags,
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
- ObjectMethod Detail |
public Context getCurrentContext() throws DSEInvalidRequestException
public boolean getExpired() throws DSEInvalidRequestException
public java.lang.String getSessionId() throws DSEInvalidRequestException
public java.lang.Object getSessionObject() throws DSEInvalidRequestException
public java.lang.String getTID() throws DSEInvalidRequestException
public java.lang.Long getTimeStamp() throws DSEInvalidRequestException
public java.lang.String getType() throws DSEInvalidRequestException
public void remove() throws DSEInvalidArgumentException
public void setExpired(boolean isExpired) throws DSEInvalidArgumentException
isExpired
- booleanpublic void setSessionObject(java.lang.Object aSessionObject) throws DSEInvalidArgumentException
aType
- Stringpublic void setTimeStamp(java.lang.Long aTimeStamp) throws DSEInvalidArgumentException
aTimeStamp
- Longpublic void setType(java.lang.String aType) throws DSEInvalidArgumentException
aType
- String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |