When are you suposed to call super on extended methods?
javadevmtl
java.dev.mtl at gmail.com
Thu May 20 20:40:16 EDT 2010
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?
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/When-are-you-suposed-to-call-super-on-extended-methods-tp5082146p5082177.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list