public class ProxyAgent
extends java.lang.Object
implements jadex.bridge.service.types.remote.IProxyAgentService
Modifier and Type | Field and Description |
---|---|
protected jadex.bridge.IInternalAccess |
agent
The agent.
|
protected boolean |
injected
The injected flag.
|
protected jadex.bridge.ITransportComponentIdentifier |
rcid
The remote component identifier.
|
protected jadex.bridge.service.types.cms.IComponentManagementService |
rcms
The remote cms.
|
Constructor and Description |
---|
ProxyAgent() |
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IFuture<java.lang.Void> |
agentCreated()
The agent created method.
|
jadex.commons.future.IFuture<jadex.bridge.service.types.remote.IProxyAgentService.State> |
getConnectionState()
Get the connection state of the proxy.
|
jadex.commons.future.IFuture<java.lang.Long> |
getCurrentLatency()
Get the current latency.
|
jadex.commons.future.IFuture<jadex.bridge.ITransportComponentIdentifier> |
getRemoteComponentIdentifier()
Get the component identifier of the remote platform.
|
jadex.commons.future.IFuture<java.lang.Void> |
refreshLatency()
Refresh the latency value.
|
jadex.commons.future.IFuture<java.lang.Void> |
setRemoteComponentIdentifier(jadex.bridge.ITransportComponentIdentifier cid)
Set or update the component identifier of the remote platform,
i.e., top reflect new transport addresses.
|
protected jadex.bridge.IInternalAccess agent
protected jadex.bridge.ITransportComponentIdentifier rcid
protected jadex.bridge.service.types.cms.IComponentManagementService rcms
protected boolean injected
public jadex.commons.future.IFuture<java.lang.Void> agentCreated()
public jadex.commons.future.IFuture<jadex.bridge.ITransportComponentIdentifier> getRemoteComponentIdentifier()
getRemoteComponentIdentifier
in interface jadex.bridge.service.types.remote.IProxyAgentService
public jadex.commons.future.IFuture<java.lang.Void> setRemoteComponentIdentifier(jadex.bridge.ITransportComponentIdentifier cid)
setRemoteComponentIdentifier
in interface jadex.bridge.service.types.remote.IProxyAgentService
public jadex.commons.future.IFuture<jadex.bridge.service.types.remote.IProxyAgentService.State> getConnectionState()
getConnectionState
in interface jadex.bridge.service.types.remote.IProxyAgentService
public jadex.commons.future.IFuture<java.lang.Void> refreshLatency()
refreshLatency
in interface jadex.bridge.service.types.remote.IProxyAgentService
public jadex.commons.future.IFuture<java.lang.Long> getCurrentLatency()