IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.services.mq
Class ConnectionHandler

java.lang.Object
  extended by com.ibm.btt.base.BTTProcessorHandler
      extended by com.ibm.btt.services.mq.ConnectionHandler
All Implemented Interfaces:
ProcessorHandler

public class ConnectionHandler
extends BTTProcessorHandler

This class represents the default handler for MQConnection class.


Constructor Summary
ConnectionHandler()
           
 
Method Summary
 ProcessorHandler closed(MQConnectionService aConnection)
          Reads the message (default behavior).
 ProcessorHandler dispatchEvent(BTTProcessorEventObject anEvent)
          Handles session events.
 ProcessorHandler error(MQConnectionService aConnection)
          Reads the message (default behaviur).
 java.lang.Object getLastMessageRead()
          Gets the lastMessageRead property (com.ibm.mq) or (com.ibm.mqbind) value.
 ProcessorHandler message(BTTProcessorEventObject anEvent)
          Reads the message (default behavior).
 ProcessorHandler opened(MQConnectionService aConnection)
          Reads the message (default behavior).
 void setLastMessageRead(CCMessage theLastMessageRead)
          Sets the lastMessageRead property (com.ibm.mq) or (com.ibm.mqbind) value.
 void setLastMessageRead(java.lang.Object theLastMessageRead)
          Sets the lastMessageRead property (com.ibm.mq) or (com.ibm.mqbind) value.
 
Methods inherited from class com.ibm.btt.base.BTTProcessorHandler
handleEvent, handleEvent, stopHandlingEvent, stopHandlingEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionHandler

public ConnectionHandler()
Method Detail

closed

public ProcessorHandler closed(MQConnectionService aConnection)
Reads the message (default behavior). It only applies when working in asynchronous mode.

Parameters:
aConnection - com.ibm.btt.services.mq.MQConnection
Returns:
com.ibm.btt.base.Handler

dispatchEvent

public ProcessorHandler dispatchEvent(BTTProcessorEventObject anEvent)
Handles session events.

Specified by:
dispatchEvent in interface ProcessorHandler
Overrides:
dispatchEvent in class BTTProcessorHandler
Parameters:
anEvent - com.ibm.btt.base.DSEEventObject
Returns:
com.ibm.btt.base.Handler

error

public ProcessorHandler error(MQConnectionService aConnection)
Reads the message (default behaviur). It only applies when working in asynchronous mode.

Parameters:
aConnection - com.ibm.btt.services.mq.MQConnection
Returns:
com.ibm.btt.base.Handler

getLastMessageRead

public java.lang.Object getLastMessageRead()
Gets the lastMessageRead property (com.ibm.mq) or (com.ibm.mqbind) value.

Returns:
The lastMessageRead property value.
See Also:
setLastMessageRead(java.lang.Object)

message

public ProcessorHandler message(BTTProcessorEventObject anEvent)
Reads the message (default behavior). It only applies when working in asynchronous mode.

Parameters:
anEvent - com.ibm.btt.base.DSEEventObject
Returns:
com.ibm.btt.base.Handler

opened

public ProcessorHandler opened(MQConnectionService aConnection)
Reads the message (default behavior). It only applies when working in asynchronous mode.

Parameters:
aConnection - com.ibm.btt.services.mq.MQConnection
Returns:
com.ibm.btt.base.Handler

setLastMessageRead

public void setLastMessageRead(java.lang.Object theLastMessageRead)
Sets the lastMessageRead property (com.ibm.mq) or (com.ibm.mqbind) value.

Parameters:
theLastMessageRead - - The new value for the property.
See Also:
getLastMessageRead()

setLastMessageRead

public void setLastMessageRead(CCMessage theLastMessageRead)
Sets the lastMessageRead property (com.ibm.mq) or (com.ibm.mqbind) value.

Parameters:
theLastMessageRead - - The new value for the property.
See Also:
getLastMessageRead()

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009