public class ChannelHandlerAdapter extends Object implements ChannelHandler
| Constructor and Description |
|---|
ChannelHandlerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
caught(Channel channel,
Throwable exception)
on exception caught.
|
void |
connected(Channel channel)
on channel connected.
|
void |
disconnected(Channel channel)
on channel disconnected.
|
void |
received(Channel channel,
Object message)
on message received.
|
void |
sent(Channel channel,
Object message)
on message sent.
|
public void connected(Channel channel) throws RemotingException
ChannelHandlerconnected in interface ChannelHandlerchannel - channel.RemotingExceptionpublic void disconnected(Channel channel) throws RemotingException
ChannelHandlerdisconnected in interface ChannelHandlerchannel - channel.RemotingExceptionpublic void sent(Channel channel, Object message) throws RemotingException
ChannelHandlersent in interface ChannelHandlerchannel - channel.message - message.RemotingExceptionpublic void received(Channel channel, Object message) throws RemotingException
ChannelHandlerreceived in interface ChannelHandlerchannel - channel.message - message.RemotingExceptionpublic void caught(Channel channel, Throwable exception) throws RemotingException
ChannelHandlercaught in interface ChannelHandlerchannel - channel.exception - exception.RemotingExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.