Package | Description |
---|---|
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 |
---|---|
AgentController |
ContainerController.acceptNewAgent(java.lang.String nickname,
Agent anAgent)
Add an Agent to this container.
|
void |
AgentController.activate()
Triggers a state transition from SUSPENDED to
ACTIVE.
|
void |
AgentController.clone(Location where,
java.lang.String newName)
Clones the current agent.
|
AgentController |
ContainerController.createNewAgent(java.lang.String nickname,
java.lang.String className,
java.lang.Object[] args)
Creates a new JADE agent, running within this container,
|
java.lang.String |
AgentController.getName()
Get the platforms name of the agent.
|
<T> T |
AgentController.getO2AInterface(java.lang.Class<T> theInterface)
Retrieve an O2A (Object-to-Agent) interface to interact with the controlled
agent.
|
State |
AgentController.getState()
Read current agent state.
|
void |
ContainerController.installMTP(java.lang.String address,
java.lang.String className)
Installs a new message transport protocol, that will run within
this container.
|
void |
ContainerController.kill()
Shuts down this container, terminating all the agents running within it.
|
void |
AgentController.kill()
Triggers a state transition from ACTIVE to
DELETED.
|
void |
AgentController.move(Location where)
Triggers a state transition from ACTIVE to
TRANSIT.
|
void |
AgentController.putO2AObject(java.lang.Object o,
boolean blocking)
Passes an application-specific object to a local agent, created
using JADE In-Process Interface.
|
void |
AgentController.start()
Triggers a state transition from INITIATED to
ACTIVE.
|
void |
AgentController.suspend()
Triggers a state transition from ACTIVE to
SUSPENDED.
|
void |
ContainerController.uninstallMTP(java.lang.String address)
Removes a message transport protocol, previously running within this
container.
|
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.
|