Netty codecs have "protected" method preventing easy reuse outside pipeline

Abraham Menacherry abrahammenacherry at gmail.com
Thu May 26 12:37:00 EDT 2011


Bruno,

I am not asking to make the existing protected method public, but to add a
new public method which does not take channel handler ctx parameter.

This in my opinion will provide the easiest re-use of Netty provided coders
outside a channel handler context. No need to make any additional classes
from user perspective.

For e.g. StringEncoder encoder = new StringEncoder()
ChannelBuffer buffer = encoder.encode("MyString");
Thanks,
Abraham.

--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Netty-codecs-have-protected-method-preventing-easy-reuse-outside-pipeline-tp6380824p6407728.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list