public interface ChannelSink<T>
Modifier and Type | Method and Description |
---|---|
void |
consume(T data)
Consumes a message.
|
void consume(T data)
data
- the message data output from the channel.java.lang.NullPointerException
- if the argument is null
.