[
https://issues.apache.org/jira/browse/DIRMINA-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138138#comment-13138138
]
Emmanuel Lecharny commented on DIRMINA-828:
-------------------------------------------
Having the header in the decoder means we can't share the decoder class between
all the sessions. The problem is that we use the factory to get the decoder,
and the factory will be shared, so you will share the decoder anyway. The
header *must* be stored in the session, and the decoder must then be stateless.
> RFC1006 protocol codec
> ----------------------
>
> Key: DIRMINA-828
> URL: https://issues.apache.org/jira/browse/DIRMINA-828
> Project: MINA
> Issue Type: New Feature
> Components: Core
> Reporter: Francis ANDRE
> Labels: features
> Attachments: RFC1006CodecFactory.java, RFC1006Decoder.java,
> RFC1006DecoderTest.java, RFC1006Encoder.java, RFC1006EncoderTest.java,
> RFC1006Protocol.java,
> org.apache.mina.filter.codec.rfc1006.RFC1006EncoderTest.txt,
> rfc1006-mina-2.0.3.zip
>
>
> Hi
> Here the files of the RFC1006 protocol codec for inclusion in the next
> release of Mina.
> org.apache.mina.filter.codec.rfc1006.RFC1006Encoder
> org.apache.mina.filter.codec.rfc1006.RFC1006Decoder
> org.apache.mina.filter.codec.rfc1006.RFC1006CodecFactory
> org.apache.mina.filter.codec.rfc1006.RFC1006Protocol
> plus the JUnit files
> org.apache.mina.filter.codec.rfc1006.RFC1006DecoderTest
> org.apache.mina.filter.codec.rfc1006.RFC1006EncoderTest
> Rgds
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira