public interface RemotingEndpoint
| 限定符和类型 | 方法和说明 |
|---|---|
RemotingChannelHolder |
getchannel()
获取管道
|
String |
getId()
获取唯一ID
|
String |
getRemotingType()
获取远程client类型
|
boolean |
isActive()
是否处于活跃状态,并已经连接
|
boolean |
isOpen()
是否打开状态
|
boolean |
isStart()
是否启动
|
RemotingChannelHolder |
start(RemotingConfiguration config)
启动远程
|
void |
stop()
停止
|
RemotingChannelHolder start(RemotingConfiguration config) throws RpcRemotingException
config - 配置消息RpcRemotingException - 启动失败会抛异常boolean isOpen()
boolean isActive()
String getId()
RemotingChannelHolder getchannel()
void stop()
boolean isStart()
String getRemotingType()
Copyright © 2020. All rights reserved.