@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
|
* Deregister the {@link Channel} of the {@link ChannelPromise} from {@link EventLoop} and notify the
|
||||||
* {@link ChannelPromise} once the operation was complete.
|
* {@link ChannelPromise} once the operation was complete.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
void deregister(ChannelPromise promise);
|
void deregister(ChannelPromise promise);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -161,6 +161,7 @@ public interface ChannelHandlerContext
|
|||||||
ChannelHandlerContext fireChannelRegistered();
|
ChannelHandlerContext fireChannelRegistered();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Deprecated
|
||||||
ChannelHandlerContext fireChannelUnregistered();
|
ChannelHandlerContext fireChannelUnregistered();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -28,7 +28,10 @@ public interface ChannelInboundHandler extends ChannelHandler {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The {@link Channel} of the {@link ChannelHandlerContext} was unregistered from its {@link EventLoop}
|
* 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;
|
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
|
* called of the next {@link ChannelInboundHandler} contained in the {@link ChannelPipeline} of the
|
||||||
* {@link Channel}.
|
* {@link Channel}.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
ChannelInboundInvoker fireChannelUnregistered();
|
ChannelInboundInvoker fireChannelUnregistered();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -97,7 +97,9 @@ interface ChannelOutboundInvoker {
|
|||||||
* {@link ChannelOutboundHandler#deregister(ChannelHandlerContext, ChannelPromise)}
|
* {@link ChannelOutboundHandler#deregister(ChannelHandlerContext, ChannelPromise)}
|
||||||
* method called of the next {@link ChannelOutboundHandler} contained in the {@link ChannelPipeline} of the
|
* method called of the next {@link ChannelOutboundHandler} contained in the {@link ChannelPipeline} of the
|
||||||
* {@link Channel}.
|
* {@link Channel}.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
ChannelFuture deregister();
|
ChannelFuture deregister();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -185,6 +187,7 @@ interface ChannelOutboundInvoker {
|
|||||||
* method called of the next {@link ChannelOutboundHandler} contained in the {@link ChannelPipeline} of the
|
* method called of the next {@link ChannelOutboundHandler} contained in the {@link ChannelPipeline} of the
|
||||||
* {@link Channel}.
|
* {@link Channel}.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
ChannelFuture deregister(ChannelPromise promise);
|
ChannelFuture deregister(ChannelPromise promise);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -598,6 +598,7 @@ public interface ChannelPipeline
|
|||||||
ChannelPipeline fireChannelRegistered();
|
ChannelPipeline fireChannelRegistered();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Deprecated
|
||||||
ChannelPipeline fireChannelUnregistered();
|
ChannelPipeline fireChannelUnregistered();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -206,6 +206,7 @@ public interface ChannelGroup extends Set<Channel>, Comparable<ChannelGroup> {
|
|||||||
* @return the {@link ChannelGroupFuture} instance that notifies when
|
* @return the {@link ChannelGroupFuture} instance that notifies when
|
||||||
* the operation is done for all channels
|
* the operation is done for all channels
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
ChannelGroupFuture deregister();
|
ChannelGroupFuture deregister();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -215,5 +216,6 @@ public interface ChannelGroup extends Set<Channel>, Comparable<ChannelGroup> {
|
|||||||
* @return the {@link ChannelGroupFuture} instance that notifies when
|
* @return the {@link ChannelGroupFuture} instance that notifies when
|
||||||
* the operation is done for all channels
|
* the operation is done for all channels
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
ChannelGroupFuture deregister(ChannelMatcher matcher);
|
ChannelGroupFuture deregister(ChannelMatcher matcher);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user