|
JACK 5.4 Application Interface | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaos.jack.jak.util.Watchable
aos.jack.jak.fsm.FSM
aos.jack.jak.event.Event
aos.jack.jak.event.MessageEvent
MessageEvent is a base class for events. All inter-agent messages extend MessageEvent.
Field Summary | |
java.lang.String |
from
The name of the sending agent. |
java.lang.String |
ident
Message identification. |
java.lang.String |
message
The trace string to display for this message. |
int |
mid
The message id number. |
int |
rmid
The message reply id number. |
Fields inherited from class aos.jack.jak.event.Event |
behavior, priority, relevant, task |
Constructor Summary | |
MessageEvent()
|
Method Summary | |
MessageEvent |
getReply()
Gets next reply from the message's reply queue. |
void |
lostReply(Agent a1,
java.lang.String a2)
Callback that is invoked when a reply arrives but the source has been discarded. |
Cursor |
replied()
Returns true when the message's reply queue is non-empty. |
void |
traceReceived(Agent a1)
Callback that is invoked for the receiving agent when the message is received. |
void |
traceSent(Agent a1)
Callback that is invoked for the sending agent when the message is sent. |
Methods inherited from class aos.jack.jak.event.Event |
computeFirstApplicable, dump, getEventName, getVariable, getVariable, getVariableValue, getVariableValue, gotException, init_sentinel, isFailed, isPassed, isRunning, remove, stateInfo, variableNames, variableTypes |
Methods inherited from class aos.jack.jak.fsm.FSM |
describe, discard, exceptionInfo, getAgent, getPreferredPriority, init, loadClass, restart, run, setMode, thrownAnException, toString, traceGoal |
Methods inherited from class aos.jack.jak.util.Watchable |
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface aos.apib.Base |
getStreamer |
Field Detail |
public java.lang.String message
public java.lang.String ident
public int mid
public int rmid
public transient java.lang.String from
Constructor Detail |
public MessageEvent()
Method Detail |
public MessageEvent getReply()
public Cursor replied()
public void lostReply(Agent a1, java.lang.String a2)
public void traceReceived(Agent a1)
public void traceSent(Agent a1)
|
JACK 5.4 Application Interface | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.