protected class ServerCommon.MessageReciever extends Object implements Channel.Receiver
| Modifier | Constructor and Description |
|---|---|
protected |
MessageReciever() |
| 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.
|
public void handleMessage(Channel channel, MessageInputStream message)
Channel.ReceiverChannel.receiveMessage(Receiver)
method must be called again.handleMessage in interface Channel.Receiverchannel - the channelmessage - the messagepublic void handleError(Channel channel, IOException error)
Channel.ReceiverhandleError in interface Channel.Receiverchannel - the channelerror - the error conditionpublic void handleEnd(Channel channel)
Channel.ReceiverhandleEnd in interface Channel.Receiverchannel - the channelCopyright © 2016 JBoss by Red Hat. All rights reserved.