@deprecated all methods which are related to deregister as it will be removed in 4.1.0.Final
This commit is contained in:
parent
65d24a7647
commit
5e9b199296
@ -226,6 +226,7 @@ public interface Channel extends AttributeMap, ChannelOutboundInvoker, ChannelPr
|
||||
* Deregister the {@link Channel} of the {@link ChannelPromise} from {@link EventLoop} and notify the
|
||||
* {@link ChannelPromise} once the operation was complete.
|
||||
*/
|
||||
@Deprecated
|
||||
void deregister(ChannelPromise promise);
|
||||
|
||||
/**
|
||||
|
@ -161,6 +161,7 @@ public interface ChannelHandlerContext
|
||||
ChannelHandlerContext fireChannelRegistered();
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
ChannelHandlerContext fireChannelUnregistered();
|
||||
|
||||
@Override
|
||||
|
@ -28,7 +28,10 @@ public interface ChannelInboundHandler extends ChannelHandler {
|
||||
|
||||
/**
|
||||
* The {@link Channel} of the {@link ChannelHandlerContext} was unregistered from its {@link EventLoop}
|
||||
*
|
||||
* @deprecated use {@link #channelInactive(ChannelHandlerContext)}
|
||||
*/
|
||||
@Deprecated
|
||||
void channelUnregistered(ChannelHandlerContext ctx) throws Exception;
|
||||
|
||||
/**
|
||||
|
@ -37,6 +37,7 @@ interface ChannelInboundInvoker {
|
||||
* called of the next {@link ChannelInboundHandler} contained in the {@link ChannelPipeline} of the
|
||||
* {@link Channel}.
|
||||
*/
|
||||
@Deprecated
|
||||
ChannelInboundInvoker fireChannelUnregistered();
|
||||
|
||||
/**
|
||||
|
@ -97,7 +97,9 @@ interface ChannelOutboundInvoker {
|
||||
* {@link ChannelOutboundHandler#deregister(ChannelHandlerContext, ChannelPromise)}
|
||||
* method called of the next {@link ChannelOutboundHandler} contained in the {@link ChannelPipeline} of the
|
||||
* {@link Channel}.
|
||||
*
|
||||
*/
|
||||
@Deprecated
|
||||
ChannelFuture deregister();
|
||||
|
||||
/**
|
||||
@ -185,6 +187,7 @@ interface ChannelOutboundInvoker {
|
||||
* method called of the next {@link ChannelOutboundHandler} contained in the {@link ChannelPipeline} of the
|
||||
* {@link Channel}.
|
||||
*/
|
||||
@Deprecated
|
||||
ChannelFuture deregister(ChannelPromise promise);
|
||||
|
||||
/**
|
||||
|
@ -598,6 +598,7 @@ public interface ChannelPipeline
|
||||
ChannelPipeline fireChannelRegistered();
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
ChannelPipeline fireChannelUnregistered();
|
||||
|
||||
@Override
|
||||
|
@ -206,6 +206,7 @@ public interface ChannelGroup extends Set<Channel>, Comparable<ChannelGroup> {
|
||||
* @return the {@link ChannelGroupFuture} instance that notifies when
|
||||
* the operation is done for all channels
|
||||
*/
|
||||
@Deprecated
|
||||
ChannelGroupFuture deregister();
|
||||
|
||||
/**
|
||||
@ -215,5 +216,6 @@ public interface ChannelGroup extends Set<Channel>, Comparable<ChannelGroup> {
|
||||
* @return the {@link ChannelGroupFuture} instance that notifies when
|
||||
* the operation is done for all channels
|
||||
*/
|
||||
@Deprecated
|
||||
ChannelGroupFuture deregister(ChannelMatcher matcher);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user