[
https://issues.apache.org/jira/browse/DIRMINA-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625128#action_12625128
]
Mike Heath commented on DIRMINA-614:
------------------------------------
If two layer codecs were possible, that's what I would do. However, you can't
layer codecs because ProtocolEncoder#encode takes an IoBuffer as an argument.
This is why I made TextLineDecoder extensible.
> Make TextLineDecoder extensible
> -------------------------------
>
> Key: DIRMINA-614
> URL: https://issues.apache.org/jira/browse/DIRMINA-614
> Project: MINA
> Issue Type: Improvement
> Affects Versions: 2.0.0-M2
> Reporter: Mike Heath
> Assignee: Mike Heath
> Fix For: 2.0.0-M4
>
>
> TextLineDecoder is useful for simple text protocols but it always sends a
> java.lang.String upstream. Currently it is difficult to use TextLineDecoder
> where you want to send domain specific objects upstream. It would be nice to
> make TextLineDecoder extensible to make it convenient to convert
> java.lang.String objects to domain specific objects.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.