接口 ChannelHandler
-
- 所有超级接口:
ChannelHandler
@Deprecated public interface ChannelHandler extends ChannelHandler
已过时。
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 已过时的方法 修饰符和类型 方法 说明 voidcaught(Channel channel, Throwable exception)已过时。default voidcaught(Channel channel, Throwable exception)已过时。on exception caught.voidconnected(Channel channel)已过时。default voidconnected(Channel channel)已过时。on channel connected.voiddisconnected(Channel channel)已过时。default voiddisconnected(Channel channel)已过时。on channel disconnected.voidreceived(Channel channel, Object message)已过时。default voidreceived(Channel channel, Object message)已过时。on message received.voidsent(Channel channel, Object message)已过时。default voidsent(Channel channel, Object message)已过时。on message sent.
-
-
-
方法详细资料
-
connected
void connected(Channel channel) throws RemotingException
已过时。
-
disconnected
void disconnected(Channel channel) throws RemotingException
已过时。
-
sent
void sent(Channel channel, Object message) throws RemotingException
已过时。
-
received
void received(Channel channel, Object message) throws RemotingException
已过时。
-
caught
void caught(Channel channel, Throwable exception) throws RemotingException
已过时。
-
connected
default void connected(Channel channel) throws RemotingException
已过时。从接口复制的说明:ChannelHandleron channel connected.- 指定者:
connected在接口中ChannelHandler- 参数:
channel- channel.- 抛出:
RemotingException
-
disconnected
default void disconnected(Channel channel) throws RemotingException
已过时。从接口复制的说明:ChannelHandleron channel disconnected.- 指定者:
disconnected在接口中ChannelHandler- 参数:
channel- channel.- 抛出:
RemotingException
-
sent
default void sent(Channel channel, Object message) throws RemotingException
已过时。从接口复制的说明:ChannelHandleron message sent.- 指定者:
sent在接口中ChannelHandler- 参数:
channel- channel.message- message.- 抛出:
RemotingException
-
received
default void received(Channel channel, Object message) throws RemotingException
已过时。从接口复制的说明:ChannelHandleron message received.- 指定者:
received在接口中ChannelHandler- 参数:
channel- channel.message- message.- 抛出:
RemotingException
-
caught
default void caught(Channel channel, Throwable exception) throws RemotingException
已过时。从接口复制的说明:ChannelHandleron exception caught.- 指定者:
caught在接口中ChannelHandler- 参数:
channel- channel.exception- exception.- 抛出:
RemotingException
-
-