When are you suposed to call super on extended methods?
"Trustin Lee (이희승)"
trustin at gmail.com
Thu Jun 3 04:46:38 EDT 2010
I guess you need to learn how 'super' keyword works first. Please
consult other Java programming language community or book.
Trustin
javadevmtl wrote:
> I simplified it to...
>
> public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent ce)
> throws Exception {
>
>
> if(ce instanceof MessageEvent)
> {
>
> Channels.fireMessageReceived(ctx, decode((String)
> ((MessageEvent)ce).getMessage()));
>
> }
>
> super.handleUpstream(ctx, ce);
> }
>
> Does it makes sense?
--
what we call human nature in actuality is human habit
http://gleamynode.net/
More information about the netty-users
mailing list