public class ConnectionOrderedChannelHandler extends WrappedChannelHandler
| 构造器和说明 |
|---|
ConnectionOrderedChannelHandler(ChannelHandler handler,
URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, getExecutorService, getHandler, getUrl, sentpublic ConnectionOrderedChannelHandler(ChannelHandler handler, URL url)
public void connected(Channel channel) throws RemotingException
ChannelHandlerconnected 在接口中 ChannelHandlerconnected 在类中 WrappedChannelHandlerchannel - channel.RemotingExceptionpublic void disconnected(Channel channel) throws RemotingException
ChannelHandlerdisconnected 在接口中 ChannelHandlerdisconnected 在类中 WrappedChannelHandlerchannel - channel.RemotingExceptionpublic void received(Channel channel, Object message) throws RemotingException
ChannelHandlerreceived 在接口中 ChannelHandlerreceived 在类中 WrappedChannelHandlerchannel - channel.message - message.RemotingExceptionpublic void caught(Channel channel, Throwable exception) throws RemotingException
ChannelHandlercaught 在接口中 ChannelHandlercaught 在类中 WrappedChannelHandlerchannel - channel.exception - exception.RemotingExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.