Global Config: Little Endian
"이희승 (Trustin Lee)"
trustin at gmail.com
Wed Oct 26 15:12:33 EDT 2011
If you have the reference to the Channel you can get it easily:
ch.getConfig().getBufferFactory()
If you are sure that your protocol will not switch to a different
endian, then I think it should be OK to keep your current approach. If
you have a reusable handler in your pipeline, then you will prefer my
suggested approach.
HTH
Replicator wrote:
> Can't really keep a reference to the factory, as I have many components (
> messages, builders, client, server, convenience to/from utility
> object/methods etc.. ). Feels wrong to pass a factory reference to all of
> them.
>
> Thanks.
>
> --
> View this message in context:
http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Global-Config-Little-Endian-tp6893711p6931256.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20111026/c050ebe4/attachment.html
More information about the netty-users
mailing list