|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ChannelDriver interface This is the interface to be used as a template for all new device types that are to use the Multichannel Interface This interface should also detail the extension points for all channel drivers.
Any object implementing this interface will have to provide:
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Method Summary | |
---|---|
ChannelContext |
createChannelContext(java.lang.Object req,
java.lang.Object res,
java.lang.Object driver)
Creates a ChannelContext object with the req, res, driver attributes. |
void |
createChannelHandler(ChannelContext channelContext)
Creates a ChannelHandler object with the channelContext attribute. |
void |
parseRequestData(ChannelContext channelContext)
Parse the request data from the ChannelContext channel request Parse to the request data into the KeyedCollection at the data element |
void |
parseRequestHeader(ChannelContext channelContext)
Parse the request header from the ChannelContext channel request Parse to the request header into the KeyedCollection at the header element |
void |
preProcessRequest(ChannelContext channelContext)
Perform any session management/control required at the device level. |
Field Detail |
public static final java.lang.String COPYRIGHT
Method Detail |
public ChannelContext createChannelContext(java.lang.Object req, java.lang.Object res, java.lang.Object driver)
The parameters are passed as objects to support all potential channel drivers
req
- java.lang.Objectres
- java.lang.Objectdriver
- java.lang.Object
public void createChannelHandler(ChannelContext channelContext) throws java.lang.Exception
Cache the ChannelHandler into the HandlerRegistry singleton. Use the device type and the dse.ini file to determine the handlers for the device
channelContext
- com.ibm.btt.clientserver.ChannelContext
java.lang.Exception
public void parseRequestData(ChannelContext channelContext) throws java.lang.Exception
Parse to the request data into the KeyedCollection at the data element
channelContext
- com.ibm.btt.clientserver.ChannelContext
java.lang.Exception
public void parseRequestHeader(ChannelContext channelContext) throws java.lang.Exception
Parse to the request header into the KeyedCollection at the header element
channelContext
- com.ibm.btt.clientserver.ChannelContext
java.lang.Exception
public void preProcessRequest(ChannelContext channelContext) throws DSECSSessionNotEstablishedException
Insert the channel session into the ChannelContext
channelContext
- com.ibm.btt.clientserver.ChannelContext
DSECSSessionNotEstablishedException
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |