|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alibaba.dubbo.remoting.transport.ChannelHandlerAdapter
public class ChannelHandlerAdapter
ChannelHandlerAdapter.
Constructor Summary | |
---|---|
ChannelHandlerAdapter()
|
Method Summary | |
---|---|
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. |
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 ChannelHandlerAdapter()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |