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