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 ChannelHandler
public void channelInactive(ChannelContext ctx)
ChannelHandler
The producer of the data has indicated that the channel is no longer active.
channelInactive
in interface ChannelHandler
public void exceptionCaught(Throwable cause)
exceptionCaught
in interface ChannelHandler
public void flush(ChannelContext ctx)
flush
in interface ChannelHandler
public void setSource(ChannelContext ctx, Object source)
setSource
in interface ChannelHandler
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.