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.ChannelInboundHandlerThis is effectively the same asChannelInboundHandlerAdapterbut allows to be inherited in a class with another superclass.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidchannelActive(io.netty.channel.ChannelHandlerContext ctx)default voidchannelInactive(io.netty.channel.ChannelHandlerContext ctx)default voidchannelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)default voidchannelReadComplete(io.netty.channel.ChannelHandlerContext ctx)default voidchannelRegistered(io.netty.channel.ChannelHandlerContext ctx)default voidchannelUnregistered(io.netty.channel.ChannelHandlerContext ctx)default voidchannelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx)default voidexceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)default voidhandlerAdded(io.netty.channel.ChannelHandlerContext ctx)default voidhandlerRemoved(io.netty.channel.ChannelHandlerContext ctx)default voiduserEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt)
-
-
-
Method Detail
-
channelRegistered
default void channelRegistered(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
channelRegisteredin interfaceio.netty.channel.ChannelInboundHandler- Throws:
Exception
-
channelUnregistered
default void channelUnregistered(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
channelUnregisteredin interfaceio.netty.channel.ChannelInboundHandler- Throws:
Exception
-
channelActive
default void channelActive(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
channelActivein interfaceio.netty.channel.ChannelInboundHandler- Throws:
Exception
-
channelInactive
default void channelInactive(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
channelInactivein interfaceio.netty.channel.ChannelInboundHandler- Throws:
Exception
-
channelRead
default void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception- Specified by:
channelReadin interfaceio.netty.channel.ChannelInboundHandler- Throws:
Exception
-
channelReadComplete
default void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
channelReadCompletein interfaceio.netty.channel.ChannelInboundHandler- Throws:
Exception
-
userEventTriggered
default void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt) throws Exception- Specified by:
userEventTriggeredin interfaceio.netty.channel.ChannelInboundHandler- Throws:
Exception
-
channelWritabilityChanged
default void channelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
channelWritabilityChangedin interfaceio.netty.channel.ChannelInboundHandler- Throws:
Exception
-
exceptionCaught
default void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception- Specified by:
exceptionCaughtin interfaceio.netty.channel.ChannelHandler- Specified by:
exceptionCaughtin interfaceio.netty.channel.ChannelInboundHandler- Throws:
Exception
-
handlerAdded
default void handlerAdded(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
handlerAddedin interfaceio.netty.channel.ChannelHandler- Throws:
Exception
-
-