IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.channel.sms
Class SMSResponseHandler

java.lang.Object
  extended by com.ibm.btt.channel.sms.SMSResponseHandler

public class SMSResponseHandler
extends java.lang.Object

Call OutboundHandler to send reply SMS message. Process the normal reply and exception. Get the reply message from operation context by fix field REPLYMSG of SMSConstant. Determine the destination phone number from channel context.


Constructor Summary
SMSResponseHandler()
           
 
Method Summary
 void processException(ChannelContext channelContext, java.lang.Exception exception, InboundHandlerConfiguration config)
          Process the exception of the business logic.
 void processReply(ChannelContext channelContext, java.lang.Object operation, InboundHandlerConfiguration config)
          Call OutboundHandler to send reply SMS message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMSResponseHandler

public SMSResponseHandler()
Method Detail

processReply

public void processReply(ChannelContext channelContext,
                         java.lang.Object operation,
                         InboundHandlerConfiguration config)
Call OutboundHandler to send reply SMS message. It will determine the destination phone number from channel context.

Parameters:
channelContext - the channelContext object
operation - the BTT operation

processException

public void processException(ChannelContext channelContext,
                             java.lang.Exception exception,
                             InboundHandlerConfiguration config)
Process the exception of the business logic. Send "Server internal error" SMS upon general exception

Parameters:
channelContext - the channelContext object
exception - the exception throws by the server side

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011