Class TcpTransport.NettyDefaultHandler<E>
java.lang.Object
io.netty5.channel.SimpleChannelInboundHandler<E>
org.apache.qpid.protonj2.client.transport.netty5.TcpTransport.NettyDefaultHandler<E>
- All Implemented Interfaces:
io.netty5.channel.ChannelHandler
- Direct Known Subclasses:
TcpTransport.NettyTcpTransportHandler
- Enclosing class:
- TcpTransport
protected abstract class TcpTransport.NettyDefaultHandler<E>
extends io.netty5.channel.SimpleChannelInboundHandler<E>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
channelActive
(io.netty5.channel.ChannelHandlerContext context) void
channelExceptionCaught
(io.netty5.channel.ChannelHandlerContext context, Throwable cause) void
channelInactive
(io.netty5.channel.ChannelHandlerContext context) void
channelReadComplete
(io.netty5.channel.ChannelHandlerContext ctx) final void
channelRegistered
(io.netty5.channel.ChannelHandlerContext context) protected void
dispatchReadBuffer
(io.netty5.buffer.Buffer buffer) Methods inherited from class io.netty5.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelRead, messageReceived
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty5.channel.ChannelHandler
bind, channelInboundEvent, channelShutdown, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, flush, handlerAdded, handlerRemoved, isSharable, pendingOutboundBytes, read, register, sendOutboundEvent, shutdown, write
-
Constructor Details
-
NettyDefaultHandler
public NettyDefaultHandler()
-
-
Method Details
-
channelRegistered
public final void channelRegistered(io.netty5.channel.ChannelHandlerContext context) throws Exception - Throws:
Exception
-
channelActive
- Throws:
Exception
-
channelReadComplete
- Throws:
Exception
-
channelInactive
- Throws:
Exception
-
channelExceptionCaught
public void channelExceptionCaught(io.netty5.channel.ChannelHandlerContext context, Throwable cause) throws Exception - Throws:
Exception
-
dispatchReadBuffer
- Throws:
Exception
-