|
IBM WebSphere Multichannel Bank 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.ChannelSessionHandler
public class ChannelSessionHandler
The ChannelSessionHandler class
The purpose of this utility class is to provide a single handler to be notified by the channel driver when the session state has been changed. The handler is responsible to publish the event that the application should listen to perform any session house keeping within the application
Field Summary | |
---|---|
protected java.util.Vector |
aChannelSessionStateChangedListener
The current channel session state changed listeners * |
Constructor Summary | |
---|---|
ChannelSessionHandler()
|
Method Summary | |
---|---|
void |
addChannelSessionStateChangedListener(ChannelSessionStateChangedListener newListener)
Add a ChannelSessionStateChangedListener object to listen for events |
protected void |
fireSessionAdded(ChannelSessionStateChangedEvent anEvent)
Fire the ChannelSessionStateChangedEvent event to all ChannelSessionStateChangedListener objects |
protected void |
fireSessionRemoved(ChannelSessionStateChangedEvent anEvent)
Fire the ChannelSessionStateChangedEvent event to all ChannelSessionStateChangedListener objects |
void |
readExternal(java.io.ObjectInput in)
Invokes the object creation from an ObjectInput. |
void |
removeChannelSessionStateChangedListener(ChannelSessionStateChangedListener newListener)
remove a ChannelSessionStateChangedListener object to listen for events |
void |
writeExternal(java.io.ObjectOutput s)
Provides concrete serialization handling for ChannelSessionHandler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient java.util.Vector aChannelSessionStateChangedListener
Constructor Detail |
---|
public ChannelSessionHandler()
Method Detail |
---|
public void addChannelSessionStateChangedListener(ChannelSessionStateChangedListener newListener)
newListener
- com.ibm.btt.clientserver.ChannelSessionStateChangedListenerprotected void fireSessionAdded(ChannelSessionStateChangedEvent anEvent)
anEvent
- com.ibm.btt.clientserver.ChannelSessionStateChangedEventprotected void fireSessionRemoved(ChannelSessionStateChangedEvent anEvent)
anEvent
- com.ibm.btt.clientserver.ChannelSessionStateChangedEventpublic void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- java.io.ObjectInput
IOException.
ClassNotFoundException.
java.io.IOException
java.lang.ClassNotFoundException
public void removeChannelSessionStateChangedListener(ChannelSessionStateChangedListener newListener)
newListener
- com.ibm.btt.clientserver.ChannelSessionStateChangedListenerpublic void writeExternal(java.io.ObjectOutput s) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
s
- java.io.ObjectOutput
java.io.IOException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |