public static interface Channel.Receiver
Modifier and Type | Method and Description |
---|---|
void |
handleEnd(Channel channel)
Handle an end-of-input condition on a channel.
|
void |
handleError(Channel channel,
IOException error)
Handle an error condition on the channel.
|
void |
handleMessage(Channel channel,
MessageInputStream message)
Handle an incoming message.
|
void handleError(Channel channel, IOException error)
channel
- the channelerror
- the error conditionvoid handleEnd(Channel channel)
channel
- the channelvoid handleMessage(Channel channel, MessageInputStream message)
Channel.receiveMessage(Receiver)
method must be called again.channel
- the channelmessage
- the messageCopyright © 2021 JBoss by Red Hat. All rights reserved.