Package | Description |
---|---|
jade.core |
This package contains the microkernel of JADE
system.
|
jade.wrapper |
Together with the classes jade.core.Profile and jade.core.Runtime
this package provides support for the JADE in-process interface
that allows external Java applications to use JADE as a kind of library and
to launch the JADE Runtime from within the application itself.
|
jade.wrapper.gateway |
This is a subpackage of jade.wrapper and contains a set of classes that enables
a non-JADE application to issue commands to a JADE-based application.
|
Modifier and Type | Method and Description |
---|---|
static AgentController |
MicroRuntime.getAgent(java.lang.String localName)
Get agent proxy to local agent given its name.
|
static int |
MicroRuntime.size() |
Modifier and Type | Class and Description |
---|---|
class |
StaleProxyException
This exception class is thrown when an attempt to use a stale
(i.e. outdated) wrapper object is made.
|
Modifier and Type | Method and Description |
---|---|
void |
PlatformController.addPlatformListener(PlatformController.Listener aListener)
Add a platform listener.
|
void |
AgentContainer.addPlatformListener(PlatformController.Listener aListener) |
AgentController |
PlatformController.createNewAgent(java.lang.String nickName,
java.lang.String className,
java.lang.Object[] args)
Create a new agent.
|
AgentController |
PlatformController.getAgent(java.lang.String localAgentName)
Get agent proxy to local agent given its name.
|
AgentController |
ContainerController.getAgent(java.lang.String localAgentName)
Get a controller (i.e. a proxy) to a local agent given its local-name.
|
AgentController |
ContainerController.getAgent(java.lang.String name,
boolean isGuid)
Get a controller (i.e. a proxy) to a local agent given its local-name or GUID.
|
java.lang.String |
ContainerController.getContainerName()
Retrieve the name of the wrapped container.
|
PlatformController |
ContainerController.getPlatformController()
Retrieve a controller for the platform the container
wrapped by this ContainerController belongs to and acts
as the Main Container.
|
protected void |
ContainerController.initPlatformController() |
void |
PlatformController.kill()
Kill the agent platform.
|
void |
PlatformController.removePlatformListener(PlatformController.Listener aListener)
Remove a platform listener.
|
void |
AgentContainer.removePlatformListener(PlatformController.Listener aListener) |
void |
PlatformController.resume()
Activate the agent platform.
|
void |
AgentContainer.resume() |
void |
PlatformController.start()
Start the platform after its been initialized.
|
void |
AgentContainer.start() |
void |
PlatformController.suspend()
Suspend the agent platform.
|
void |
AgentContainer.suspend() |
Modifier and Type | Method and Description |
---|---|
void |
SplitJadeGateway.checkJADE() |
static void |
JadeGateway.checkJADE()
This method checks if both the container, and the agent, are up and running.
|
void |
DynamicJadeGateway.checkJADE()
This method checks if both the container, and the agent, are up and running.
|
static void |
JadeGateway.execute(java.lang.Object command)
execute a command.
|
void |
DynamicJadeGateway.execute(java.lang.Object command)
execute a command.
|
static void |
JadeGateway.execute(java.lang.Object command,
long timeout)
Execute a command specifying a timeout.
|
void |
DynamicJadeGateway.execute(java.lang.Object command,
long timeout)
Execute a command specifying a timeout.
|