You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2007/12/28 04:48:43 UTC

[jira] Resolved: (DIRMINA-504) Allow ProtocolEncoder to generate non-IoBuffer objects

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

Trustin Lee resolved DIRMINA-504.
---------------------------------

    Resolution: Fixed

Resolved as described

> Allow ProtocolEncoder to generate non-IoBuffer objects
> ------------------------------------------------------
>
>                 Key: DIRMINA-504
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-504
>             Project: MINA
>          Issue Type: Improvement
>          Components: Filter
>            Reporter: Trustin Lee
>            Assignee: Trustin Lee
>             Fix For: 2.0.0-M1
>
>
> For now, ProtocolEncoderOutput.write() accepts only IoBuffer as a parameter, and therefore a user cannot generate FileRegion or any other kind of object for multi-layered protocols.  ProtocolEncoderOutput.write() should accept any object to remove this limitation.  Additionally, ProtocolEncoderOutput.mergeAll() should perform sanity check before merging IoBuffers because the content of the queue might be mixed up with IoBuffers and non-IoBuffers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.