public abstract class AbstractClientHandler<T> extends Object implements ChannelHandler<T>
ChannelHandler.HandlerType, ChannelHandler.InvokeType| 构造器和说明 |
|---|
AbstractClientHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
caught(Channel channel,
T message,
Throwable exception) |
void |
connected(Channel channel) |
void |
disconnected(Channel channel) |
protected abstract Node.NodeType |
getConnectNodeType() |
Class |
interest() |
void |
received(Channel channel,
T message) |
Object |
reply(Channel channel,
T message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExecutor, getInvokeType, getTypepublic void connected(Channel channel) throws RemotingException
connected 在接口中 ChannelHandler<T>RemotingExceptionpublic void disconnected(Channel channel)
disconnected 在接口中 ChannelHandler<T>protected abstract Node.NodeType getConnectNodeType()
public void caught(Channel channel, T message, Throwable exception)
caught 在接口中 ChannelHandler<T>public void received(Channel channel, T message)
received 在接口中 ChannelHandler<T>public Class interest()
interest 在接口中 ChannelHandler<T>Copyright © 2019 The Ant Financial. All rights reserved.