com.ibm.dse.services.comms
Class SessionUnsolicitedMessageHandler

java.lang.Object
  |
  +--com.ibm.dse.base.DSEHandler
        |
        +--com.ibm.dse.services.comms.SessionUnsolicitedMessageHandler

public class SessionUnsolicitedMessageHandler
extends DSEHandler

Handles events unsolicitedMessage, unsolicitedMessageCancelled and BIDReceived generated by Lu0SnaSession.


Field Summary
static java.lang.String COMPID
           
 
Constructor Summary
SessionUnsolicitedMessageHandler()
           
 
Method Summary
 Handler BIDReceived(Lu0SnaSessionService aSession)
          Executed when BIDReceived event fired.The default behavior is empty.
 Handler dispatchEvent(DSEEventObject anEvent)
          This method is called when a notifier generates the event anEvent, handled by this Handler.
 Lu0Message getLastMessageRead()
          Gets the lastMessageRead property (com.ibm.dse.services.Lu0Message) value.
 void setLastMessageRead(Lu0Message lastMessageRead)
          Sets the lastMessageRead property (com.ibm.dse.services.Lu0Message) value.
 Handler unsolicitedMessage(Lu0SnaSessionService aSession)
          Executed when unsolicitedMessage event fired.The default behavior is read the unsolicited message.
 Handler unsolicitedMessageCancelled(Lu0SnaSessionService aSession)
          Executed when unsolicitedMessageCancelled event fired.The default behavior is empty.
 
Methods inherited from class com.ibm.dse.base.DSEHandler
handleEvent, handleEvent, stopHandlingEvent, stopHandlingEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPID

public static final java.lang.String COMPID
Constructor Detail

SessionUnsolicitedMessageHandler

public SessionUnsolicitedMessageHandler()
Method Detail

BIDReceived

public Handler BIDReceived(Lu0SnaSessionService aSession)
Executed when BIDReceived event fired.The default behavior is empty.
Parameters:
aSession - com.ibm.dse.services.Lu0SnaSessionService
Returns:
com.ibm.dse.base.Handler

dispatchEvent

public Handler dispatchEvent(DSEEventObject anEvent)
This method is called when a notifier generates the event anEvent, handled by this Handler.
Overrides:
dispatchEvent in class DSEHandler
Parameters:
anEvent - com.ibm.dse.base.DSEEventObject
Returns:
com.ibm.dse.base.Handler

getLastMessageRead

public Lu0Message getLastMessageRead()
Gets the lastMessageRead property (com.ibm.dse.services.Lu0Message) value.
Returns:
The lastMessageRead property value.
See Also:
setLastMessageRead(com.ibm.dse.services.comms.Lu0Message)

setLastMessageRead

public void setLastMessageRead(Lu0Message lastMessageRead)
Sets the lastMessageRead property (com.ibm.dse.services.Lu0Message) value.
Parameters:
lastMessageRead - The new value for the property.
See Also:
getLastMessageRead()

unsolicitedMessage

public Handler unsolicitedMessage(Lu0SnaSessionService aSession)
Executed when unsolicitedMessage event fired.The default behavior is read the unsolicited message.
Parameters:
aSession - com.ibm.dse.services.Lu0SnaSessionService
Returns:
com.ibm.dse.base.Handler

unsolicitedMessageCancelled

public Handler unsolicitedMessageCancelled(Lu0SnaSessionService aSession)
Executed when unsolicitedMessageCancelled event fired.The default behavior is empty.
Parameters:
aSession - com.ibm.dse.services.Lu0SnaSessionService
Returns:
com.ibm.dse.base.Handler