IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.channel.sms
Class SMSRequestHandler

java.lang.Object
  extended by com.ibm.btt.clientserver.DSERequestHandler
      extended by com.ibm.btt.channel.sms.SMSRequestHandler
All Implemented Interfaces:
RequestHandler

public class SMSRequestHandler
extends DSERequestHandler

Handle requests that are made from SMS clients. The btt.xml file for the server specifies this class name as the handler for requests. One instance of it is created and held by the HandlerRegistry for use by all SMS clients.


Field Summary
 
Fields inherited from class com.ibm.btt.clientserver.DSERequestHandler
errorCode, javaClientException, javaClientTrace
 
Constructor Summary
SMSRequestHandler()
           
 
Method Summary
protected  java.lang.Object executeRequest(ChannelContext channelContext)
          Override the execute request method to execute the business logic. 1.Parse and validate the SMS command according to the SMS Command Meta configuration. 2 Map data into operation context 3.Start the operation execution task by thread pool asynchronously
protected  PresentationHandler getPresentationHandler(ChannelContext channelContext)
          Get the presentation handler for the inbound reqeust handler.
 
Methods inherited from class com.ibm.btt.clientserver.DSERequestHandler
checkExecutionPermission, executeSession, formatOpContext, getRequestValue, getSessionContext, getSessionId, handleException, handleException, isNotNull, preProcessRequest, process, processRequest, processSessionRequest, runInSession, setReplyFmt, tryToFormat, tryToUnformat, unFormatRequest, usingCookies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMSRequestHandler

public SMSRequestHandler()
Method Detail

executeRequest

protected java.lang.Object executeRequest(ChannelContext channelContext)
                                   throws java.lang.Exception
Override the execute request method to execute the business logic. 1.Parse and validate the SMS command according to the SMS Command Meta configuration. 2 Map data into operation context 3.Start the operation execution task by thread pool asynchronously

Overrides:
executeRequest in class DSERequestHandler
Parameters:
channelContext - com.ibm.btt.clientserver.ChannelContext
Returns:
com.ibm.btt.base.ServerOperation
Throws:
java.lang.Exception

getPresentationHandler

protected PresentationHandler getPresentationHandler(ChannelContext channelContext)
                                              throws DSENoRegisteredPresentationHandlerException
Get the presentation handler for the inbound reqeust handler. If no presentation handler is defined in the inbound configuration, the global presentation handler defined in btt.xml will be return.

Overrides:
getPresentationHandler in class DSERequestHandler
Parameters:
channelContext -
Returns:
presentation handler for the inbound reqeust handler
Throws:
DSENoRegisteredPresentationHandlerException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011