IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.clientserver
Class DSEChannelContext

java.lang.Object
  extended bycom.ibm.btt.clientserver.DSEChannelContext
All Implemented Interfaces:
ChannelContext

public class DSEChannelContext
extends java.lang.Object
implements ChannelContext

This class implements ChannelContext interface.

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


Constructor Summary
DSEChannelContext()
          DSEChannelContext constructor.
DSEChannelContext(java.lang.Object req, java.lang.Object res, java.lang.Object device)
          DSEChannelContext constructor.
 
Method Summary
 java.lang.Object getChannelDriver()
          Get the channel driver
 java.lang.Object getChannelRequest()
          Get the channel request
 java.lang.Object getChannelResponse()
          Get the channel response
 java.lang.Object 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(java.lang.Object channelDriver)
          Set the channel driver
 void setChannelSession(java.lang.Object 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(java.lang.Object req,
                         java.lang.Object res,
                         java.lang.Object device)
DSEChannelContext constructor. param req Object param req Object param req Object return com.ibm.btt.clientserver.DSEChannelContext

Method Detail

getChannelDriver

public java.lang.Object getChannelDriver()
Get the channel driver

Specified by:
getChannelDriver in interface ChannelContext
Returns:
fieldChannelDriver Object

getChannelRequest

public java.lang.Object getChannelRequest()
Get the channel request

Specified by:
getChannelRequest in interface ChannelContext
Returns:
fieldChannelRequest Object

getChannelResponse

public java.lang.Object getChannelResponse()
Get the channel response

Specified by:
getChannelResponse in interface ChannelContext
Returns:
fieldChannelResponse Object

getChannelSession

public java.lang.Object 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(java.lang.Object channelDriver)
Set the channel driver

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

setChannelSession

public void setChannelSession(java.lang.Object 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 Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005