About this task
The channel component is restructured in BTT version 7.0.
Besides
ChannelRequest and
ChannelResponse,
which help to achieve protocol and channel independency, there are
some other changes in structure and code, including:
- In BTT version 4.3, CSReqServlet implements ChannelDriver.
In BTT version 7.0, CSReqServlet is only a servlet
and does not implement ChannelDriver interface.
- BTT version 7.0 introduces a BTTChannelDriver class,
which implements ChannelDriver interface.
- Because BTTChannelDriver implements ChannelDriver in
BTT version 7.0. Some functions and methods in CSReqServlet are
not in ChannelDriver.
To migrate channel code, you only need to move some methods
and logic to the classes in BTT version 7.0.