Interface ChannelOutboundHandlerDefaults
- All Superinterfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelOutboundHandler
- All Known Implementing Classes:
SaslDecoderEncoder
public interface ChannelOutboundHandlerDefaults
extends io.netty.channel.ChannelOutboundHandler
This is effectively the same as
ChannelOutboundHandlerAdapter
but allows
to be inherited in a class with another superclass.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
bind
(io.netty.channel.ChannelHandlerContext ctx, SocketAddress localAddress, io.netty.channel.ChannelPromise promise) default void
close
(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.ChannelPromise promise) default void
connect
(io.netty.channel.ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, io.netty.channel.ChannelPromise promise) default void
deregister
(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.ChannelPromise promise) default void
disconnect
(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.ChannelPromise promise) default void
exceptionCaught
(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) default void
flush
(io.netty.channel.ChannelHandlerContext ctx) default void
handlerAdded
(io.netty.channel.ChannelHandlerContext ctx) default void
handlerRemoved
(io.netty.channel.ChannelHandlerContext ctx) default void
read
(io.netty.channel.ChannelHandlerContext ctx) default void
write
(io.netty.channel.ChannelHandlerContext ctx, Object msg, io.netty.channel.ChannelPromise promise)
-
Method Details
-
bind
default void bind(io.netty.channel.ChannelHandlerContext ctx, SocketAddress localAddress, io.netty.channel.ChannelPromise promise) throws Exception - Specified by:
bind
in interfaceio.netty.channel.ChannelOutboundHandler
- Throws:
Exception
-
connect
default void connect(io.netty.channel.ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, io.netty.channel.ChannelPromise promise) throws Exception - Specified by:
connect
in interfaceio.netty.channel.ChannelOutboundHandler
- Throws:
Exception
-
disconnect
default void disconnect(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.ChannelPromise promise) throws Exception - Specified by:
disconnect
in interfaceio.netty.channel.ChannelOutboundHandler
- Throws:
Exception
-
close
default void close(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.ChannelPromise promise) throws Exception - Specified by:
close
in interfaceio.netty.channel.ChannelOutboundHandler
- Throws:
Exception
-
deregister
default void deregister(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.ChannelPromise promise) throws Exception - Specified by:
deregister
in interfaceio.netty.channel.ChannelOutboundHandler
- Throws:
Exception
-
read
- Specified by:
read
in interfaceio.netty.channel.ChannelOutboundHandler
- Throws:
Exception
-
write
default void write(io.netty.channel.ChannelHandlerContext ctx, Object msg, io.netty.channel.ChannelPromise promise) throws Exception - Specified by:
write
in interfaceio.netty.channel.ChannelOutboundHandler
- Throws:
Exception
-
flush
- Specified by:
flush
in interfaceio.netty.channel.ChannelOutboundHandler
- Throws:
Exception
-
handlerAdded
- Specified by:
handlerAdded
in interfaceio.netty.channel.ChannelHandler
- Throws:
Exception
-
handlerRemoved
- Specified by:
handlerRemoved
in interfaceio.netty.channel.ChannelHandler
- Throws:
Exception
-
exceptionCaught
default void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception - Specified by:
exceptionCaught
in interfaceio.netty.channel.ChannelHandler
- Throws:
Exception
-