IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.clientserver
Class DSEChannelContext

java.lang.Object
  extended by com.ibm.btt.clientserver.DSEChannelContext
All Implemented Interfaces:
ChannelContext, java.io.Serializable

public class DSEChannelContext
extends java.lang.Object
implements ChannelContext, java.io.Serializable

This class implements ChannelContext interface.

This is the concrete implementation to be used to manage the state during a request

See Also:
Serialized Form

Constructor Summary
DSEChannelContext()
          DSEChannelContext constructor.
DSEChannelContext(ChannelRequest req, ChannelResponse res, ChannelDriver driver)
          DSEChannelContext constructor. param req Object param req Object param req Object return com.ibm.btt.clientserver.DSEChannelContext
 
Method Summary
 ChannelDriver getChannelDriver()
          Get the channel driver
 ChannelRequest getChannelRequest()
          Get the channel request
 ChannelResponse getChannelResponse()
          Get the channel response
 ChannelSession getChannelSession()
          Get the channel session
 java.lang.String getDeviceType()
          Get the device type
 KeyedCollection getRequestData()
          Get the keyed collection of the request data.
protected  void initializeRequestData()
          Convenience method to create the keyed collection request data structure
 void setChannelDriver(ChannelDriver channelDriver)
          Set the channel driver
 void setChannelSession(ChannelSession channelSession)
          Set the channel session
 void setDeviceType(java.lang.String device)
          Set the device type
 void setRequestData(KeyedCollection kColl)
          Set the keyed collection for the request data
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSEChannelContext

public DSEChannelContext()
DSEChannelContext constructor.


DSEChannelContext

public DSEChannelContext(ChannelRequest req,
                         ChannelResponse res,
                         ChannelDriver driver)
DSEChannelContext constructor. param req Object param req Object param req Object return com.ibm.btt.clientserver.DSEChannelContext

Method Detail

getChannelDriver

public ChannelDriver getChannelDriver()
Get the channel driver

Specified by:
getChannelDriver in interface ChannelContext
Returns:
fieldChannelDriver Object

getChannelRequest

public ChannelRequest getChannelRequest()
Get the channel request

Specified by:
getChannelRequest in interface ChannelContext
Returns:
fieldChannelRequest Object

getChannelResponse

public ChannelResponse getChannelResponse()
Get the channel response

Specified by:
getChannelResponse in interface ChannelContext
Returns:
fieldChannelResponse Object

getChannelSession

public ChannelSession getChannelSession()
Get the channel session

Specified by:
getChannelSession in interface ChannelContext
Returns:
fieldChannelSession Object

getDeviceType

public java.lang.String getDeviceType()
Get the device type

Specified by:
getDeviceType in interface ChannelContext
Returns:
fieldDeviceType String

getRequestData

public KeyedCollection getRequestData()
Get the keyed collection of the request data. To included kColl of header and data

Specified by:
getRequestData in interface ChannelContext
Returns:
fieldRequestData com.ibm.btt.base.KeyedCollection

initializeRequestData

protected void initializeRequestData()
Convenience method to create the keyed collection request data structure


setChannelDriver

public void setChannelDriver(ChannelDriver channelDriver)
Set the channel driver

Specified by:
setChannelDriver in interface ChannelContext
Parameters:
channelDriver - Object

setChannelSession

public void setChannelSession(ChannelSession channelSession)
Set the channel session

Specified by:
setChannelSession in interface ChannelContext
Parameters:
channelSession - Object

setDeviceType

public void setDeviceType(java.lang.String device)
Set the device type

Specified by:
setDeviceType in interface ChannelContext
Parameters:
device - Object

setRequestData

public void setRequestData(KeyedCollection kColl)
Set the keyed collection for the request data

Specified by:
setRequestData in interface ChannelContext
Parameters:
kColl - com.ibm.btt.KeyedCollection

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009