public interface ChannelHandler
DataListener provides an event-driven interface for the user to process series of events.
Modifier and Type | Method and Description |
---|---|
void |
channelInactive(ChannelContext ctx)
The producer of the data has indicated that the channel is no longer active.
|
void |
dataReceived(ChannelContext ctx,
Values data) |
void |
exceptionCaught(Throwable cause) |
void |
flush(ChannelContext ctx) |
void |
setSource(ChannelContext ctx,
Object source) |
void dataReceived(ChannelContext ctx, Values data)
void channelInactive(ChannelContext ctx)
The producer of the data has indicated that the channel is no longer active.
ctx
- void exceptionCaught(Throwable cause)
void flush(ChannelContext ctx)
void setSource(ChannelContext ctx, Object source)
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.