|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@SPI public interface ChannelHandler
ChannelHandler. (API, Prototype, ThreadSafe)
Transporter.bind(com.alibaba.dubbo.common.URL, ChannelHandler),
Transporter.connect(com.alibaba.dubbo.common.URL, ChannelHandler)| 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. |
| Method Detail |
|---|
void connected(Channel channel)
throws RemotingException
channel - channel.
RemotingException
void disconnected(Channel channel)
throws RemotingException
channel - channel.
RemotingException
void sent(Channel channel,
Object message)
throws RemotingException
channel - channel.message - message.
RemotingException
void received(Channel channel,
Object message)
throws RemotingException
channel - channel.message - message.
RemotingException
void caught(Channel channel,
Throwable exception)
throws RemotingException
channel - channel.exception - exception.
RemotingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||