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

The following are Jave code examples for showing how to use fireChannelWritabilityChanged() 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: QDrill   File: RemoteConnection.java   View Source Code Vote up 4 votes
@Override
    public void channelWritabilityChanged(ChannelHandlerContext ctx) throws Exception {
//      logger.debug("Channel writability changed.", ctx.channel().isWritable());
      writeManager.setWritable(ctx.channel().isWritable());
      ctx.fireChannelWritabilityChanged();
    }
 
Example 2
Project: aws-sdk-java-v2   File: LoggingHandler.java   View Source Code Vote up 4 votes
@Override
public void channelWritabilityChanged(ChannelHandlerContext ctx) {
    log(() -> format(ctx, "CHANNEL_WRITABILITY_CHANGED"));
    ctx.fireChannelWritabilityChanged();
}
 
Example 3
Project: dremio-oss   File: RemoteConnection.java   View Source Code Vote up 4 votes
@Override
public void channelWritabilityChanged(ChannelHandlerContext ctx) throws Exception {
  writeManager.setWritable(ctx.channel().isWritable());
  ctx.fireChannelWritabilityChanged();
}