Java Code Examples for io.netty.channel.ChannelHandlerContext.fireChannelReadComplete()

The following are Jave code examples for showing how to use fireChannelReadComplete() of the io.netty.channel.ChannelHandlerContext class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: hekate   File: NettyClientIdleStateHandler.java   View Source Code Vote up 5 votes
@Override
public void channelReadComplete(ChannelHandlerContext ctx) throws Exception {
    if (notifyRead) {
        notifyRead = false;

        super.channelReadComplete(ctx);
    } else {
        ctx.fireChannelReadComplete();
    }
}
 
Example 2
Project: aws-sdk-java-v2   File: LoggingHandler.java   View Source Code Vote up 5 votes
@Override
public void channelReadComplete(ChannelHandlerContext ctx) {
    log(() -> format(ctx, "(inbound) READ_COMPLETE"));
    ctx.fireChannelReadComplete();
}
 
Example 3
Project: xrpc   File: UrlRouter.java   View Source Code Vote up 4 votes
@Override
public void channelReadComplete(ChannelHandlerContext ctx) throws Exception {
  ctx.fireChannelReadComplete();
}
 
Example 4
Project: xrpc   File: ConnectionLimiter.java   View Source Code Vote up 4 votes
@Override
public void channelReadComplete(ChannelHandlerContext ctx) throws Exception {
  ctx.fireChannelReadComplete();
}
 
Example 5
Project: QDrill   File: ProtobufLengthDecoder.java   View Source Code Vote up 4 votes
@Override
public void channelReadComplete(ChannelHandlerContext ctx) throws Exception {
  ctx.fireChannelReadComplete();
}
 
Example 6
Project: dremio-oss   File: MessageDecoder.java   View Source Code Vote up 4 votes
@Override
public void channelReadComplete(ChannelHandlerContext ctx) throws Exception {
  ctx.fireChannelReadComplete();
}