public interface RemotingClient extends RemotingEndpoint
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doConnect()
连接
|
SocketAddress |
getRemoteAddress()
获取远程地址
|
void |
reconnect(int retryCount)
重新连接,
|
getChannel, getId, getRemotingType, getWeight, isActive, isOpen, isStart, setWeight, start, stopvoid doConnect()
void reconnect(int retryCount)
throws TimeoutException
retryCount - 重试次数TimeoutException - 超时异常SocketAddress getRemoteAddress()
Copyright © 2020. All rights reserved.