Interface ChannelInboundHandlerDefaults
-
- All Superinterfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
- All Known Implementing Classes:
ChannelInputStream
,SaslDecoderEncoder
public interface ChannelInboundHandlerDefaults extends io.netty.channel.ChannelInboundHandler
This is effectively the same asChannelInboundHandlerAdapter
but allows to be inherited in a class with another superclass.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
channelActive(io.netty.channel.ChannelHandlerContext ctx)
default void
channelInactive(io.netty.channel.ChannelHandlerContext ctx)
default void
channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
default void
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
default void
channelRegistered(io.netty.channel.ChannelHandlerContext ctx)
default void
channelUnregistered(io.netty.channel.ChannelHandlerContext ctx)
default void
channelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx)
default void
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
default void
handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
default void
handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)
default void
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt)
-
-
-
Method Detail
-
channelRegistered
default void channelRegistered(io.netty.channel.ChannelHandlerContext ctx) throws Exception
- Specified by:
channelRegistered
in interfaceio.netty.channel.ChannelInboundHandler
- Throws:
Exception
-
channelUnregistered
default void channelUnregistered(io.netty.channel.ChannelHandlerContext ctx) throws Exception
- Specified by:
channelUnregistered
in interfaceio.netty.channel.ChannelInboundHandler
- Throws:
Exception
-
channelActive
default void channelActive(io.netty.channel.ChannelHandlerContext ctx) throws Exception
- Specified by:
channelActive
in interfaceio.netty.channel.ChannelInboundHandler
- Throws:
Exception
-
channelInactive
default void channelInactive(io.netty.channel.ChannelHandlerContext ctx) throws Exception
- Specified by:
channelInactive
in interfaceio.netty.channel.ChannelInboundHandler
- Throws:
Exception
-
channelRead
default void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
- Specified by:
channelRead
in interfaceio.netty.channel.ChannelInboundHandler
- Throws:
Exception
-
channelReadComplete
default void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) throws Exception
- Specified by:
channelReadComplete
in interfaceio.netty.channel.ChannelInboundHandler
- Throws:
Exception
-
userEventTriggered
default void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt) throws Exception
- Specified by:
userEventTriggered
in interfaceio.netty.channel.ChannelInboundHandler
- Throws:
Exception
-
channelWritabilityChanged
default void channelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx) throws Exception
- Specified by:
channelWritabilityChanged
in interfaceio.netty.channel.ChannelInboundHandler
- Throws:
Exception
-
exceptionCaught
default void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
- Specified by:
exceptionCaught
in interfaceio.netty.channel.ChannelHandler
- Specified by:
exceptionCaught
in interfaceio.netty.channel.ChannelInboundHandler
- Throws:
Exception
-
handlerAdded
default void handlerAdded(io.netty.channel.ChannelHandlerContext ctx) throws Exception
- Specified by:
handlerAdded
in interfaceio.netty.channel.ChannelHandler
- Throws:
Exception
-
-