@Deprecated public interface ChannelHandler extends ChannelHandler
| 限定符和类型 | 方法和说明 |
|---|---|
void |
caught(Channel channel,
Throwable exception)
已过时。
|
default void |
caught(Channel channel,
Throwable exception)
已过时。
on exception caught.
|
void |
connected(Channel channel)
已过时。
|
default void |
connected(Channel channel)
已过时。
on channel connected.
|
void |
disconnected(Channel channel)
已过时。
|
default void |
disconnected(Channel channel)
已过时。
on channel disconnected.
|
void |
received(Channel channel,
Object message)
已过时。
|
default void |
received(Channel channel,
Object message)
已过时。
on message received.
|
void |
sent(Channel channel,
Object message)
已过时。
|
default void |
sent(Channel channel,
Object message)
已过时。
on message sent.
|
void connected(Channel channel) throws RemotingException
void disconnected(Channel channel) throws RemotingException
void sent(Channel channel, Object message) throws RemotingException
void received(Channel channel, Object message) throws RemotingException
void caught(Channel channel, Throwable exception) throws RemotingException
default void connected(Channel channel) throws RemotingException
ChannelHandlerconnected 在接口中 ChannelHandlerchannel - channel.RemotingExceptiondefault void disconnected(Channel channel) throws RemotingException
ChannelHandlerdisconnected 在接口中 ChannelHandlerchannel - channel.RemotingExceptiondefault void sent(Channel channel, Object message) throws RemotingException
ChannelHandlersent 在接口中 ChannelHandlerchannel - channel.message - message.RemotingExceptiondefault void received(Channel channel, Object message) throws RemotingException
ChannelHandlerreceived 在接口中 ChannelHandlerchannel - channel.message - message.RemotingExceptiondefault void caught(Channel channel, Throwable exception) throws RemotingException
ChannelHandlercaught 在接口中 ChannelHandlerchannel - channel.exception - exception.RemotingExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.