public abstract class AbstractChannelHandler extends Object implements ChannelHandler
| Modifier and Type | Field and Description | 
|---|---|
| static AbstractChannelHandler | PASS_THROUGH | 
| Constructor and Description | 
|---|
| AbstractChannelHandler() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | channelInactive(ChannelContext ctx)The producer of the data has indicated that the channel is no longer active. | 
| abstract void | dataReceived(ChannelContext ctx,
            Values data) | 
| void | exceptionCaught(Throwable cause) | 
| void | flush(ChannelContext ctx) | 
| void | setSource(ChannelContext ctx,
         Object source) | 
public static final AbstractChannelHandler PASS_THROUGH
public abstract void dataReceived(ChannelContext ctx, Values data)
dataReceived in interface ChannelHandlerpublic void channelInactive(ChannelContext ctx)
ChannelHandlerThe producer of the data has indicated that the channel is no longer active.
channelInactive in interface ChannelHandlerpublic void exceptionCaught(Throwable cause)
exceptionCaught in interface ChannelHandlerpublic void flush(ChannelContext ctx)
flush in interface ChannelHandlerpublic void setSource(ChannelContext ctx, Object source)
setSource in interface ChannelHandlerCopyright © 2019 The Apache Software Foundation. All Rights Reserved.