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.