类 AllChannelHandler
- java.lang.Object
-
- com.alibaba.dubbo.remoting.transport.dispatcher.WrappedChannelHandler
-
- com.alibaba.dubbo.remoting.transport.dispatcher.all.AllChannelHandler
-
- 所有已实现的接口:
ChannelHandler
,ChannelHandlerDelegate
public class AllChannelHandler extends WrappedChannelHandler
-
-
构造器概要
构造器 构造器 说明 AllChannelHandler(ChannelHandler handler, URL url)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.-
从类继承的方法 com.alibaba.dubbo.remoting.transport.dispatcher.WrappedChannelHandler
close, getExecutor, getExecutorService, getHandler, getUrl, sent
-
-
-
-
构造器详细资料
-
AllChannelHandler
public AllChannelHandler(ChannelHandler handler, URL url)
-
-
方法详细资料
-
connected
public void connected(Channel channel) throws RemotingException
从接口复制的说明:ChannelHandler
on channel connected.- 指定者:
connected
在接口中ChannelHandler
- 覆盖:
connected
在类中WrappedChannelHandler
- 参数:
channel
- channel.- 抛出:
RemotingException
-
disconnected
public void disconnected(Channel channel) throws RemotingException
从接口复制的说明:ChannelHandler
on channel disconnected.- 指定者:
disconnected
在接口中ChannelHandler
- 覆盖:
disconnected
在类中WrappedChannelHandler
- 参数:
channel
- channel.- 抛出:
RemotingException
-
received
public void received(Channel channel, Object message) throws RemotingException
从接口复制的说明:ChannelHandler
on message received.- 指定者:
received
在接口中ChannelHandler
- 覆盖:
received
在类中WrappedChannelHandler
- 参数:
channel
- channel.message
- message.- 抛出:
RemotingException
-
caught
public void caught(Channel channel, Throwable exception) throws RemotingException
从接口复制的说明:ChannelHandler
on exception caught.- 指定者:
caught
在接口中ChannelHandler
- 覆盖:
caught
在类中WrappedChannelHandler
- 参数:
channel
- channel.exception
- exception.- 抛出:
RemotingException
-
-