public class ConnectionLifecycleHandler<I,O>
extends io.netty.channel.ChannelInboundHandlerAdapter
| Constructor and Description |
|---|
ConnectionLifecycleHandler(ConnectionHandler<I,O> connectionHandler,
ObservableConnectionFactory<I,O> connectionFactory,
ErrorHandler errorHandler,
MetricEventsSubject<ServerMetricsEvent<?>> eventsSubject) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelUnregistered(io.netty.channel.ChannelHandlerContext ctx) |
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object evt) |
channelInactive, channelRead, channelReadComplete, channelRegistered, channelWritabilityChanged, exceptionCaughthandlerAdded, handlerRemoved, isSharablepublic ConnectionLifecycleHandler(ConnectionHandler<I,O> connectionHandler, ObservableConnectionFactory<I,O> connectionFactory, ErrorHandler errorHandler, MetricEventsSubject<ServerMetricsEvent<?>> eventsSubject)
public void channelUnregistered(io.netty.channel.ChannelHandlerContext ctx)
throws java.lang.Exception
channelUnregistered in interface io.netty.channel.ChannelInboundHandlerchannelUnregistered in class io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exceptionpublic void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws java.lang.Exception
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exceptionpublic void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object evt)
throws java.lang.Exception
userEventTriggered in interface io.netty.channel.ChannelInboundHandleruserEventTriggered in class io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exception