Package org.apache.dubbo.remoting
Interface ChannelHandler
- All Known Subinterfaces:
ChannelHandlerDelegate,ExchangeHandler
- All Known Implementing Classes:
AbstractChannel,AbstractChannelHandlerDelegate,AbstractClient,AbstractConnectionClient,AbstractEndpoint,AbstractPeer,AbstractPortUnificationServer,AbstractServer,AllChannelHandler,ChannelHandlerAdapter,ChannelHandlerDispatcher,ChannelHandlerPretender,ConnectionOrderedChannelHandler,DecodeHandler,DefaultPuHandler,DirectChannelHandler,ExchangeHandlerAdapter,ExchangeHandlerDispatcher,ExecutionChannelHandler,HeaderExchangeHandler,HeartbeatHandler,MessageOnlyChannelHandler,MultiMessageHandler,TelnetHandlerAdapter,WrappedChannelHandler
ChannelHandler. (API, Prototype, ThreadSafe)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidon exception caught.voidon channel connected.voiddisconnected(Channel channel) on channel disconnected.voidon message received.voidon message sent.
-
Method Details
-
connected
on channel connected.- Parameters:
channel- channel.- Throws:
RemotingException
-
disconnected
on channel disconnected.- Parameters:
channel- channel.- Throws:
RemotingException
-
sent
on message sent.- Parameters:
channel- channel.message- message.- Throws:
RemotingException
-
received
on message received.- Parameters:
channel- channel.message- message.- Throws:
RemotingException
-
caught
on exception caught.- Parameters:
channel- channel.exception- exception.- Throws:
RemotingException
-