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

The following are Jave code examples for showing how to use deregister() 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: aws-sdk-java-v2   File: LoggingHandler.java   View Source Code Vote up 4 votes
@Override
public void deregister(ChannelHandlerContext ctx, ChannelPromise promise) {
    log(() -> format(ctx, "DEREGISTER"));
    ctx.deregister(promise);
}
 
Example 2
Project: CustomWorldGen   File: NetworkDispatcher.java   View Source Code Vote up 4 votes
@Override
@Deprecated
public void deregister(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception
{
    ctx.deregister(promise);
}