[
https://issues.apache.org/jira/browse/DIRMINA-670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny updated DIRMINA-670:
--------------------------------------
Fix Version/s: (was: 2.0.6)
2.0.8
> Make ProtocolEncoder/Decoder interfaces typesafe
> ------------------------------------------------
>
> Key: DIRMINA-670
> URL: https://issues.apache.org/jira/browse/DIRMINA-670
> Project: MINA
> Issue Type: Wish
> Components: Core
> Affects Versions: 2.0.0-M4
> Reporter: Rory Winston
> Priority: Minor
> Fix For: 2.0.8
>
>
> It would be nice to be able to have some type safety in the protocol codec
> interfaces. For instance, in the ProtocolEncoder interface, a change to
> something like:
> public interface ProtocolEncoder <T> {
> void encode(IoSession session, T message, ProtocolEncoderOutput out)
> throws Exception;
> ...
> }
> Would ensure type safety on objects to be encoded.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira