public class AwarenessManagementAgentHelper
extends java.lang.Object
Constructor and Description |
---|
AwarenessManagementAgentHelper(jadex.bridge.IExternalAccess component)
Create a new helper.
|
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IFuture<java.lang.Void> |
createOrDeleteProxy(jadex.bridge.IComponentIdentifier cid,
boolean create)
Creates or deletes a local proxy for a given remote component.
|
jadex.commons.future.IFuture<java.util.Set<java.lang.String>> |
getActiveDiscoveryMechanisms()
Returns a Set of active Discovery Mechanism types.
|
static jadex.commons.future.IFuture<java.util.Collection<jadex.bridge.IExternalAccess>> |
getChildrenAccesses(jadex.bridge.IInternalAccess component)
Get the children (if any).
|
jadex.commons.future.IFuture<jadex.bridge.service.types.awareness.DiscoveryInfo[]> |
getDiscoveryInfos()
Returns all remote Discovery Infos.
|
jadex.commons.future.IFuture<AwarenessSettingsData> |
getSettings()
Asks the AwarenessManagementAgent for the current Settings.
|
jadex.commons.future.IFuture<java.lang.Void> |
setDiscoveryMechanismState(java.lang.String type,
boolean on)
Enables or disables Discovery Mechanisms.
|
jadex.commons.future.IFuture<java.lang.Void> |
setSettings(AwarenessSettingsData settings)
Transfers new Settings to the Agent.
|
public AwarenessManagementAgentHelper(jadex.bridge.IExternalAccess component)
public jadex.commons.future.IFuture<java.lang.Void> setDiscoveryMechanismState(java.lang.String type, boolean on)
type
- Name of the Awareness Subcomponenton
- activates/deactivates the mechanism if true/false.public jadex.commons.future.IFuture<AwarenessSettingsData> getSettings()
public jadex.commons.future.IFuture<jadex.bridge.service.types.awareness.DiscoveryInfo[]> getDiscoveryInfos()
DiscoveryInfo
spublic jadex.commons.future.IFuture<java.util.Set<java.lang.String>> getActiveDiscoveryMechanisms()
public jadex.commons.future.IFuture<java.lang.Void> setSettings(AwarenessSettingsData settings)
settings
- The new AwarenessSettingsData
Void
public jadex.commons.future.IFuture<java.lang.Void> createOrDeleteProxy(jadex.bridge.IComponentIdentifier cid, boolean create)
cid
- BasicComponentIdentifier
of the component to create/delete
the proxy forcreate
- true if proxy should be created, false if it should be
deletedpublic static jadex.commons.future.IFuture<java.util.Collection<jadex.bridge.IExternalAccess>> getChildrenAccesses(jadex.bridge.IInternalAccess component)