|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChannelDriver
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(ChannelRequest req,
ChannelResponse res)
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. |
void |
service(ChannelContext channelContext)
Execute the channel framework logic |
Field Detail |
---|
static final java.lang.String COPYRIGHT
Method Detail |
---|
ChannelContext createChannelContext(ChannelRequest req, ChannelResponse res)
The parameters are passed as objects to support all potential channel drivers
req
- java.lang.Objectres
- java.lang.Objectdriver
- java.lang.Object
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
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
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
void preProcessRequest(ChannelContext channelContext) throws DSECSSessionNotEstablishedException
Insert the channel session into the ChannelContext
channelContext
- com.ibm.btt.clientserver.ChannelContext
DSECSSessionNotEstablishedException
void service(ChannelContext channelContext)
channelContext
-
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |