com.alibaba.dubbo.remoting.transport.dispatcher.connection
Class ConnectionOrderedChannelHandler
java.lang.Object
com.alibaba.dubbo.remoting.transport.dispatcher.WrappedChannelHandler
com.alibaba.dubbo.remoting.transport.dispatcher.connection.ConnectionOrderedChannelHandler
- All Implemented Interfaces:
- ChannelHandler, ChannelHandlerDelegate
public class ConnectionOrderedChannelHandler
- extends WrappedChannelHandler
ConnectionOrderedChannelHandler
public ConnectionOrderedChannelHandler(ChannelHandler handler,
URL url)
connected
public void connected(Channel channel)
throws RemotingException
- Description copied from interface:
ChannelHandler
- on channel connected.
- Specified by:
connected
in interface ChannelHandler
- Overrides:
connected
in class WrappedChannelHandler
- Parameters:
channel
- channel.
- Throws:
RemotingException
disconnected
public void disconnected(Channel channel)
throws RemotingException
- Description copied from interface:
ChannelHandler
- on channel disconnected.
- Specified by:
disconnected
in interface ChannelHandler
- Overrides:
disconnected
in class WrappedChannelHandler
- Parameters:
channel
- channel.
- Throws:
RemotingException
received
public void received(Channel channel,
Object message)
throws RemotingException
- Description copied from interface:
ChannelHandler
- on message received.
- Specified by:
received
in interface ChannelHandler
- Overrides:
received
in class WrappedChannelHandler
- Parameters:
channel
- channel.message
- message.
- Throws:
RemotingException
caught
public void caught(Channel channel,
Throwable exception)
throws RemotingException
- Description copied from interface:
ChannelHandler
- on exception caught.
- Specified by:
caught
in interface ChannelHandler
- Overrides:
caught
in class WrappedChannelHandler
- Parameters:
channel
- channel.exception
- exception.
- Throws:
RemotingException
Copyright © 2012–2017 Alibaba. All rights reserved.