Class ChannelHandlerAdapter
java.lang.Object
org.apache.dubbo.remoting.transport.ChannelHandlerAdapter
- All Implemented Interfaces:
ChannelHandler
- Direct Known Subclasses:
ChannelHandlerPretender
,TelnetHandlerAdapter
ChannelHandlerAdapter.
-
Constructor Summary
-
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.
-
Constructor Details
-
ChannelHandlerAdapter
public ChannelHandlerAdapter()
-
-
Method Details
-
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
-