|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nasa.arc.brahms.vm.api.jac.AbstractExternalActivity
brahms.base.system.CreateExternalAgentActivity
public class CreateExternalAgentActivity
The CreateExternalAgentActivity allows a modeler to dynamically create a new external agent. The modeler must provide the fully qualified Java class name with the implementation for the Java agent and optionally specify the base name to assign to the external agent. The Brahms virtual machine will add additional information to the name to guarantee name uniqueness.
This activity requires three parameters in the Brahms java activity declaration:
| Constructor Summary | |
|---|---|
CreateExternalAgentActivity()
|
|
| Method Summary | |
|---|---|
void |
doActivity()
Executes the java activity action. |
| Methods inherited from class gov.nasa.arc.brahms.vm.api.jac.AbstractExternalActivity |
|---|
assertBelief, assertFact, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, conclude, getContext, getModel, getName, getParameter, getParameterCount, getPerformedBy, getVMController, getWorldState, isValidTruthValue, retractBelief, retractFact, send, send, send, send, setActivity, setProperties, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateExternalAgentActivity()
| Method Detail |
|---|
public void doActivity()
throws ExternalException
doActivity in interface IExternalActivitydoActivity in class AbstractExternalActivityExternalException - if an unrecoverable error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||