com.ibm.dse.services.comms
Class SessionMessageHandler

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

public class SessionMessageHandler
extends DSEHandler

Handles events message and messageCancelled generated by Lu0SnaSession.


Field Summary
static java.lang.String COMPID
           
 
Constructor Summary
SessionMessageHandler()
           
 
Method Summary
 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.
 Handler message(Lu0SnaSessionService aSession)
          Executed when message event fired.The default behavior is read the message and send possitive response in case application manages responses.
 Handler messageCancelled(Lu0SnaSessionService aSession)
          Executed when message event fired.The default behavior is empty .
 void setLastMessageRead(Lu0Message lastMessageRead)
          Sets the lastMessageRead property (com.ibm.dse.services.Lu0Message) value.
 
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

SessionMessageHandler

public SessionMessageHandler()
Method Detail

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)

message

public Handler message(Lu0SnaSessionService aSession)
Executed when message event fired.The default behavior is read the message and send possitive response in case application manages responses.
Parameters:
aSession - com.ibm.dse.services.Lu0SnaSession
Returns:
com.ibm.dse.base.Handler

messageCancelled

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

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()