|
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.btt.clientserver.DSEChannelSession
This class implements ChannelSession interface.
This is the concrete implementation to be used to manage the session if the device driver does not provide the session management
Constructor Summary | |
---|---|
DSEChannelSession()
DSEChannelSession constructor Create the unique key for the session |
|
DSEChannelSession(java.lang.String sessionId)
Constructor for the DSEChannelSession with a session id |
Method Summary | |
---|---|
protected static java.lang.String |
generateKey()
Generate the unique key for the session |
java.lang.String |
getId()
Get the session id. |
java.lang.Object |
getValue(java.lang.String key)
Get the value for a given key |
void |
putValue(java.lang.String key,
java.lang.Object value)
Put the value for a key |
void |
removeValue(java.lang.String key)
Remove the value for a given key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DSEChannelSession()
public DSEChannelSession(java.lang.String sessionId)
sessionId
- java.lang.StringMethod Detail |
protected static java.lang.String generateKey()
public java.lang.String getId()
getId
in interface ChannelSession
public java.lang.Object getValue(java.lang.String key)
key
- java.lang.String
public void putValue(java.lang.String key, java.lang.Object value)
key
- java.lang.Stringvalue
- java.lang.Objectpublic void removeValue(java.lang.String key)
key
- java.lang.String
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |