- java.lang.Object
-
- org.redkale.net.sncp.SncpRemoteInfo<S>
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
SncpRemoteInfo.SncpRemoteAction
-
字段概要
字段 修饰符和类型 字段 说明 protected Map<String,SncpRemoteInfo.SncpRemoteAction>
actions
protected ProtobufConvert
convert
protected static Logger
logger
protected MessageAgent
messageAgent
protected MessageClient
messageClient
protected String
name
protected Set<InetSocketAddress>
remoteAddresses
protected String
remoteGroup
protected String
resourceid
protected Uint128
serviceid
protected Class<S>
serviceType
protected int
serviceVersion
protected SncpClient
sncpClient
protected SncpRpcGroups
sncpRpcGroups
protected String
topic
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected SncpClientRequest
createSncpClientRequest(SncpRemoteInfo.SncpRemoteAction action, InetSocketAddress clientSncpAddress, String traceid, Object[] params)
SncpRemoteInfo.SncpRemoteAction[]
getActions()
String
getName()
Set<InetSocketAddress>
getRemoteAddresses()
String
getRemoteGroup()
Class
getServiceClass()
Uint128
getServiceid()
int
getServiceVersion()
String
getTopic()
protected InetSocketAddress
nextRemoteAddress()
<T> T
remote(String actionid, Object... params)
protected CompletableFuture<byte[]>
remoteClient(SncpRemoteInfo.SncpRemoteAction action, String traceid, Object[] params)
String
toSimpleString()
String
toString()
void
updateRemoteAddress(String remoteGroup, Set<InetSocketAddress> remoteAddresses)
-
-
-
字段详细资料
-
logger
protected static final Logger logger
-
name
protected final String name
-
serviceid
protected final Uint128 serviceid
-
resourceid
protected final String resourceid
-
serviceVersion
protected final int serviceVersion
-
actions
protected final Map<String,SncpRemoteInfo.SncpRemoteAction> actions
-
sncpRpcGroups
protected final SncpRpcGroups sncpRpcGroups
-
sncpClient
protected final SncpClient sncpClient
-
remoteGroup
protected String remoteGroup
-
remoteAddresses
protected Set<InetSocketAddress> remoteAddresses
-
convert
protected final ProtobufConvert convert
-
topic
protected final String topic
-
messageAgent
protected final MessageAgent messageAgent
-
messageClient
protected final MessageClient messageClient
-
-
方法详细资料
-
remoteClient
protected CompletableFuture<byte[]> remoteClient(SncpRemoteInfo.SncpRemoteAction action, String traceid, Object[] params)
-
createSncpClientRequest
protected SncpClientRequest createSncpClientRequest(SncpRemoteInfo.SncpRemoteAction action, InetSocketAddress clientSncpAddress, String traceid, Object[] params)
-
nextRemoteAddress
protected InetSocketAddress nextRemoteAddress()
-
toSimpleString
public String toSimpleString()
-
updateRemoteAddress
public void updateRemoteAddress(String remoteGroup, Set<InetSocketAddress> remoteAddresses)
-
getName
public String getName()
-
getServiceClass
public Class getServiceClass()
-
getServiceid
public Uint128 getServiceid()
-
getServiceVersion
public int getServiceVersion()
-
getActions
public SncpRemoteInfo.SncpRemoteAction[] getActions()
-
getTopic
public String getTopic()
-
getRemoteGroup
public String getRemoteGroup()
-
getRemoteAddresses
public Set<InetSocketAddress> getRemoteAddresses()
-
-