|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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:
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 |
void |
parseRequestHeader(ChannelContext channelContext)
Parse the request header from the ChannelContext channel request |
void |
preProcessRequest(ChannelContext channelContext)
Perform any session management/control required at the device level. |
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.Objectrep
- java.lang.Objectpublic 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.dse.clientserver.ChannelContextpublic void parseRequestData(ChannelContext channelContext) throws java.lang.Exception
Parse to the request data into the KeyedCollection at the data element
channelContext
- com.ibm.dse.clientserver.ChannelContextpublic void parseRequestHeader(ChannelContext channelContext) throws java.lang.Exception
Parse to the request header into the KeyedCollection at the header element
channelContext
- com.ibm.dse.clientserver.ChannelContextpublic void preProcessRequest(ChannelContext channelContext) throws DSECSSessionNotEstablishedException
Insert the channel session into the ChannelContext
channelContext
- com.ibm.dse.clientserver.ChannelContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |