com.ibm.dse.services.comms
Class ConversationHandler

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

public class ConversationHandler
extends DSEHandler


Field Summary
static java.lang.String COMPID
           
 
Constructor Summary
ConversationHandler()
           
 
Method Summary
 Handler confirmedReceived(Lu62ConversationService aConversation)
          Executed when cofirmReceived event fired.The default behavior is empty.
 Handler conversationClosed(Lu62ConversationService aConversation)
          Executed when conversationClosed event fired.
 Handler conversationDown(Lu62ConversationService aConversation)
          Executed when conversationDown event fired.
 Handler conversationEstablished(Lu62ConversationService aConversation)
          Executed when conversationEstablished event fired.
 Handler conversationNotEstablished(Lu62ConversationService aConversation)
          Executed when conversationNotEstablished event fired.
 Handler data(Lu62ConversationService aConversation)
          Executed when data event fired.
 Handler dataCancelled(Lu62ConversationService aConversation)
          Executed when dataCancelled event fired.
 Handler dispatchEvent(DSEEventObject anEvent)
          This method is called when a notifier generates the event anEvent, handled by this Handler.
 Handler errorReceived(Lu62ConversationService aConversation)
          Executed when errorReceived event fired.
 Lu62Message getLastMessageRead()
          Gets the lastMessageRead property.
 void setLastMessageRead(Lu62Message theLastMessageRead)
          Sets the lastMessageRead property.
 
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

ConversationHandler

public ConversationHandler()
Method Detail

confirmedReceived

public Handler confirmedReceived(Lu62ConversationService aConversation)
Executed when cofirmReceived event fired.The default behavior is empty.
Parameters:
aConversation - com.ibm.dse.services.Lu62ConversationService
Returns:
com.ibm.dse.base.Handler

conversationClosed

public Handler conversationClosed(Lu62ConversationService aConversation)
Executed when conversationClosed event fired. The default behavior is empty.
Parameters:
aConversation - com.ibm.dse.services.Lu62ConversationService
Returns:
com.ibm.dse.base.Handler

conversationDown

public Handler conversationDown(Lu62ConversationService aConversation)
Executed when conversationDown event fired. The default behavior is to re-establish the LU-LU conversation.
Parameters:
aConversation - com.ibm.dse.services.Lu62ConversationService
Returns:
com.ibm.dse.base.Handler

conversationEstablished

public Handler conversationEstablished(Lu62ConversationService aConversation)
Executed when conversationEstablished event fired. The default behavior is empty.
Parameters:
aConversation - com.ibm.dse.services.Lu62ConversationService
Returns:
com.ibm.dse.base.Handler

conversationNotEstablished

public Handler conversationNotEstablished(Lu62ConversationService aConversation)
Executed when conversationNotEstablished event fired. The default behavior is empty.
Parameters:
aConversation - com.ibm.dse.services.Lu62ConversationService
Returns:
com.ibm.dse.base.Handler

data

public Handler data(Lu62ConversationService aConversation)
Executed when data event fired. The default behavior means it reads the message if responses managed by the application give a confirmedReceived.
Parameters:
aConversation - com.ibm.dse.services.Lu62ConversationService
Returns:
com.ibm.dse.base.Handler

dataCancelled

public Handler dataCancelled(Lu62ConversationService aConversation)
Executed when dataCancelled event fired. The default behavior is empty.
Parameters:
aConversation - com.ibm.dse.services.Lu62ConversationService
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

errorReceived

public Handler errorReceived(Lu62ConversationService aConversation)
Executed when errorReceived event fired. The default behavior is empty.
Parameters:
aConversation - com.ibm.dse.services.Lu62ConversationService
Returns:
com.ibm.dse.base.Handler

getLastMessageRead

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

setLastMessageRead

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