Class ChannelHandlerAdapter
java.lang.Object
org.apache.dubbo.remoting.transport.ChannelHandlerAdapter
- All Implemented Interfaces:
ChannelHandler
- Direct Known Subclasses:
ChannelHandlerPretender,TelnetHandlerAdapter
ChannelHandlerAdapter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidon exception caught.voidon channel connected.voiddisconnected(Channel channel) on channel disconnected.voidon message received.voidon message sent.
-
Constructor Details
-
ChannelHandlerAdapter
public ChannelHandlerAdapter()
-
-
Method Details
-
connected
Description copied from interface:ChannelHandleron channel connected.- Specified by:
connectedin interfaceChannelHandler- Parameters:
channel- channel.- Throws:
RemotingException
-
disconnected
Description copied from interface:ChannelHandleron channel disconnected.- Specified by:
disconnectedin interfaceChannelHandler- Parameters:
channel- channel.- Throws:
RemotingException
-
sent
Description copied from interface:ChannelHandleron message sent.- Specified by:
sentin interfaceChannelHandler- Parameters:
channel- channel.message- message.- Throws:
RemotingException
-
received
Description copied from interface:ChannelHandleron message received.- Specified by:
receivedin interfaceChannelHandler- Parameters:
channel- channel.message- message.- Throws:
RemotingException
-
caught
Description copied from interface:ChannelHandleron exception caught.- Specified by:
caughtin interfaceChannelHandler- Parameters:
channel- channel.exception- exception.- Throws:
RemotingException
-