Class AbstractChannelHandlerDelegate
java.lang.Object
org.apache.dubbo.remoting.transport.AbstractChannelHandlerDelegate
- All Implemented Interfaces:
ChannelHandler
,ChannelHandlerDelegate
- Direct Known Subclasses:
DecodeHandler
,HeartbeatHandler
,MultiMessageHandler
public abstract class AbstractChannelHandlerDelegate
extends Object
implements ChannelHandlerDelegate
-
Method Summary
Modifier and TypeMethodDescriptionvoid
on exception caught.void
on channel connected.void
disconnected
(Channel channel) on channel disconnected.void
on message received.void
on message sent.
-
Method Details
-
getHandler
- Specified by:
getHandler
in interfaceChannelHandlerDelegate
-
connected
Description copied from interface:ChannelHandler
on channel connected.- Specified by:
connected
in interfaceChannelHandler
- Parameters:
channel
- channel.- Throws:
RemotingException
-
disconnected
Description copied from interface:ChannelHandler
on channel disconnected.- Specified by:
disconnected
in interfaceChannelHandler
- Parameters:
channel
- channel.- Throws:
RemotingException
-
sent
Description copied from interface:ChannelHandler
on message sent.- Specified by:
sent
in interfaceChannelHandler
- Parameters:
channel
- channel.message
- message.- Throws:
RemotingException
-
received
Description copied from interface:ChannelHandler
on message received.- Specified by:
received
in interfaceChannelHandler
- Parameters:
channel
- channel.message
- message.- Throws:
RemotingException
-
caught
Description copied from interface:ChannelHandler
on exception caught.- Specified by:
caught
in interfaceChannelHandler
- Parameters:
channel
- channel.exception
- exception.- Throws:
RemotingException
-