Problem of hundreds ChannelHandler for one connection
magiceye
magiceye at 163.com
Mon May 9 05:58:52 EDT 2011
For some application situation like network game, it will be hundreds
self-defined package (for example, attack, trade with other people and so
on). By typical sytle in netty, the logical operation is a ChannelHandler in
pipe. So if I have hundreds self-defined package, there will be hundreds
ChannelHandler in pipe, each one deal with one type of request. It seems
very hard to use context to control the order of ChannelHandlers dynamic
because they are too much.
Should I implement myself "event-callbacking" mechanism or there are some
other ways to do it by netty which I don't know yet?
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Problem-of-hundreds-ChannelHandler-for-one-connection-tp6343673p6343673.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list