Package | Description |
---|---|
casa |
The casa package is the main package for CASA (Collaborative Agent System
Architecture), which is an infrastructure for agent based systems.
|
casa.conversation2 | |
casa.jade | |
casa.util |
Contains classes implementing various utility class for CASA.
|
Modifier and Type | Method and Description |
---|---|
Status |
TransientAgent.doResolveURL(URLDescriptor url,
long timeout,
Runnable1<String,Status> cmd)
Sends a the request to the appropriate LAC to resolve the URL.
|
protected Status |
TransientAgent.resolveConnectException(MLMessage msg,
Runnable1<String,Status> cmd)
Attempts to resolve the url of the reciever field of a message.
|
protected Status |
AbstractProcess.resolveConnectException(MLMessage msg,
Runnable1<String,Status> cmd)
This method may be overridden by a subclass to handle a ConnectionException
during a call to sendMessage(MLMessage).
|
Modifier and Type | Field and Description |
---|---|
(package private) Runnable1<Event,Status> |
Runnable1Action.runnable |
Modifier and Type | Method and Description |
---|---|
Runnable1<Event,Status> |
Runnable1Action.getAction() |
Modifier and Type | Method and Description |
---|---|
void |
Runnable1Action.setAction(Runnable1<Event,Status> action) |
Modifier and Type | Field and Description |
---|---|
(package private) Runnable1<Formula,Object> |
BeliefObserver.runnable |
Modifier and Type | Method and Description |
---|---|
static BeliefObserver |
BeliefObserver.onValueChange(CasaKB kbase,
String var,
FormulaFilter filter,
Runnable1<Object,Object> runnable)
Creates a BeliefObserver and adds it to the kbase so that runnable is executed
every time the var changes, subject to the filter.
|
Constructor and Description |
---|
BeliefObserver(CasaKB kbase,
Formula formula,
FormulaFilter filter,
Runnable1<Formula,Object> runnable)
Constructs and new BeliefObserver to monitor the knowledge base for changes
to one or more formulas and execute runnable when its value changes,
subject to filter.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
CASAUtil.sleepIgnoringInterrupts(long time,
Runnable1<InterruptedException,Boolean> code)
Wait time milliseconds ignoring interrupts.
|
static TransientAgent |
CASAUtil.startAnAgent(Class<?> theClass,
String agentName,
int port,
Runnable1<TransientAgent,Void> code,
String... argPairs)
Run an agent of type theClass named agentName on port port, optionally
executing code once the agent is started up.
|