mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRMINA-890) ProtocolCodecFilter creates multiple decoders per session
Date Mon, 09 Jul 2012 17:11:35 GMT

     [ https://issues.apache.org/jira/browse/DIRMINA-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Emmanuel Lecharny resolved DIRMINA-890.

    Resolution: Not A Problem

Seems like this is more a problem with the way the codec is implemented on the user's side.
> ProtocolCodecFilter creates multiple decoders per session
> ---------------------------------------------------------
>                 Key: DIRMINA-890
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-890
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.4
>            Reporter: Brian Kramer
>         Attachments: ProtocolCodecFilter.patch, mina-time.zip
> I have a stateful decoding state that works with input across multiple calls to messageReceived().
 It isn't working because each time the ProtocolCodecFilter has messageReceived() called it
creates a brand new decoder from the factory.
> Reading through the class it seems to imply that the encoder and decoder should work
the same as the encoder out and decoder out by storing them in the session once created.

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


View raw message