Chunked READ and multi message
Christian Migowski
chrismfwrd at gmail.com
Thu Jan 20 03:31:02 EST 2011
Hello,
comment inline
On Wed, Jan 19, 2011 at 4:34 AM, scottesker <scott_esker at yahoo.com> wrote:
[...]
> 2. Multi message decoding. So, we have many types of messages that are
> going to be transmitted via TCP. Is the architecturally suggested method to
> use multiple channel handlers, or?
This is really more an architectural/personal taste issue than an
implementation challenge. I tend to decode messages that belong to one
protocol (like login, logout, data, ack data and their replies) in one
handler, as they belong logically together and usually also share some
details which can be decoded with the same implementation.
regards,
christian
More information about the netty-users
mailing list