IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.mobile
Class MobilePresentationHandler

java.lang.Object
  extended by com.ibm.btt.clientserver.DSEPresentationHandler
      extended by com.ibm.btt.mobile.MobilePresentationHandler
All Implemented Interfaces:
PresentationHandler

public class MobilePresentationHandler
extends DSEPresentationHandler

The btt predefined presentationHandler to handle the response sent to mobile client.


Field Summary
 
Fields inherited from class com.ibm.btt.clientserver.DSEPresentationHandler
javaClientException, javaClientTrace
 
Constructor Summary
MobilePresentationHandler()
           
 
Method Summary
 void commitSessionCtx(ChannelContext channelContext)
          Commit the session context
 void processException(ChannelContext channelContext, java.lang.Exception exception)
          Process the exception of the mobile server side.
 void processReply(ChannelContext channelContext, java.lang.Object result)
          Process a response for a client.
 
Methods inherited from class com.ibm.btt.clientserver.DSEPresentationHandler
handleException, processSessionReply, usingCookies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobilePresentationHandler

public MobilePresentationHandler()
Method Detail

processReply

public void processReply(ChannelContext channelContext,
                         java.lang.Object result)
Process a response for a client. Use serialization to pass the result back to client.

Specified by:
processReply in interface PresentationHandler
Overrides:
processReply in class DSEPresentationHandler
Parameters:
channelContext - the channel context object
result - the result send to client side

processException

public void processException(ChannelContext channelContext,
                             java.lang.Exception exception)
Process the exception of the mobile server side. Convert the exception to MobileException and use serialization to pass the exception back to client.

Specified by:
processException in interface PresentationHandler
Overrides:
processException in class DSEPresentationHandler
Parameters:
channelContext - the channelContext object
exception - the exception throws by the server side

commitSessionCtx

public void commitSessionCtx(ChannelContext channelContext)
Commit the session context

Parameters:
channelContext - the channel context object

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011