public class JCCAgent
extends java.lang.Object
implements jadex.bridge.IComponentStep<java.lang.Void>
Modifier and Type | Field and Description |
---|---|
protected ControlCenter |
cc
The control center.
|
protected boolean |
connected
True when initially connected to a remote platform..
|
static int |
MAX_TRIES
Number of tries, when connecting initially to remote platforms.
|
protected java.lang.String |
platforms
The platforms argument.
|
static int |
RETRY_DELAY
Delay in milliseconds between two subsequent tries.
|
protected boolean |
saveonexit
The saveonexit argument.
|
protected int |
tries
Number of tries, when connecting initially to remote platforms.
|
Constructor and Description |
---|
JCCAgent() |
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IFuture<java.lang.Void> |
agentKilled(jadex.bridge.IInternalAccess agent)
Close the gui on agent shutdown.
|
jadex.commons.future.IFuture<java.lang.Void> |
execute(jadex.bridge.IInternalAccess agent)
Open the gui on agent startup.
|
ControlCenter |
getControlCenter()
Get the control center.
|
protected jadex.commons.future.IFuture<java.lang.Void> |
initControlCenter(jadex.bridge.IInternalAccess agent,
jadex.bridge.IExternalAccess platform)
Init the control center with a given platform.
|
public static final int MAX_TRIES
public static final int RETRY_DELAY
protected boolean saveonexit
protected java.lang.String platforms
protected ControlCenter cc
protected int tries
protected boolean connected
public jadex.commons.future.IFuture<java.lang.Void> execute(jadex.bridge.IInternalAccess agent)
execute
in interface jadex.bridge.IComponentStep<java.lang.Void>
public jadex.commons.future.IFuture<java.lang.Void> agentKilled(jadex.bridge.IInternalAccess agent)
public ControlCenter getControlCenter()
protected jadex.commons.future.IFuture<java.lang.Void> initControlCenter(jadex.bridge.IInternalAccess agent, jadex.bridge.IExternalAccess platform)