|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alibaba.dubbo.remoting.transport.dispatcher.WrappedChannelHandler
public class WrappedChannelHandler
Constructor Summary | |
---|---|
WrappedChannelHandler(ChannelHandler handler,
URL url)
|
Method Summary | |
---|---|
void |
caught(Channel channel,
Throwable exception)
on exception caught. |
void |
close()
|
void |
connected(Channel channel)
on channel connected. |
void |
disconnected(Channel channel)
on channel disconnected. |
ExecutorService |
getExecutor()
|
ChannelHandler |
getHandler()
|
URL |
getUrl()
|
void |
received(Channel channel,
Object message)
on message received. |
void |
sent(Channel channel,
Object message)
on message sent. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WrappedChannelHandler(ChannelHandler handler, URL url)
Method Detail |
---|
public void close()
public void connected(Channel channel) throws RemotingException
ChannelHandler
connected
in interface ChannelHandler
channel
- channel.
RemotingException
public void disconnected(Channel channel) throws RemotingException
ChannelHandler
disconnected
in interface ChannelHandler
channel
- channel.
RemotingException
public void sent(Channel channel, Object message) throws RemotingException
ChannelHandler
sent
in interface ChannelHandler
channel
- channel.message
- message.
RemotingException
public void received(Channel channel, Object message) throws RemotingException
ChannelHandler
received
in interface ChannelHandler
channel
- channel.message
- message.
RemotingException
public void caught(Channel channel, Throwable exception) throws RemotingException
ChannelHandler
caught
in interface ChannelHandler
channel
- channel.exception
- exception.
RemotingException
public ExecutorService getExecutor()
public ChannelHandler getHandler()
getHandler
in interface ChannelHandlerDelegate
public URL getUrl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |