public class AllChannelHandler extends WrappedChannelHandler
| Constructor and Description |
|---|
AllChannelHandler(ChannelHandler handler,
URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
caught(Channel channel,
Throwable exception)
on exception caught.
|
void |
connected(Channel channel)
on channel connected.
|
void |
disconnected(Channel channel)
on channel disconnected.
|
void |
received(Channel channel,
Object message)
on message received.
|
close, getExecutor, getHandler, getUrl, sentpublic AllChannelHandler(ChannelHandler handler, URL url)
public void connected(Channel channel) throws RemotingException
ChannelHandlerconnected in interface ChannelHandlerconnected in class WrappedChannelHandlerchannel - channel.RemotingExceptionpublic void disconnected(Channel channel) throws RemotingException
ChannelHandlerdisconnected in interface ChannelHandlerdisconnected in class WrappedChannelHandlerchannel - channel.RemotingExceptionpublic void received(Channel channel, Object message) throws RemotingException
ChannelHandlerreceived in interface ChannelHandlerreceived in class WrappedChannelHandlerchannel - channel.message - message.RemotingExceptionpublic void caught(Channel channel, Throwable exception) throws RemotingException
ChannelHandlercaught in interface ChannelHandlercaught in class WrappedChannelHandlerchannel - channel.exception - exception.RemotingExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.