[#1489] Correctly handle channelReadSuspended and channelWritabilityChanged in CombinedChannelDuplexHandler

This commit is contained in:
Norman Maurer 2013-06-30 17:18:33 +02:00
parent 0c8cf5cdc8
commit 617ab6321b

View File

@ -187,4 +187,14 @@ public class CombinedChannelDuplexHandler<I extends ChannelInboundHandler, O ext
public void write(ChannelHandlerContext ctx, MessageList<Object> msgs, ChannelPromise promise) throws Exception { public void write(ChannelHandlerContext ctx, MessageList<Object> msgs, ChannelPromise promise) throws Exception {
outboundHandler.write(ctx, msgs, promise); outboundHandler.write(ctx, msgs, promise);
} }
@Override
public void channelReadSuspended(ChannelHandlerContext ctx) throws Exception {
inboundHandler.channelReadSuspended(ctx);
}
@Override
public void channelWritabilityChanged(ChannelHandlerContext ctx) throws Exception {
inboundHandler.channelWritabilityChanged(ctx);
}
} }