|
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.agent.Capability
This is the base class for JACK Capability types.
Constructor Summary | |
Capability()
Constructor. |
Method Summary | |
protected void |
autorun()
Can be overridden in order to provide some initialisation when the capability is actually brought into being. |
Agent |
getAgent()
Returns the enclosing agent. |
boolean |
isEnabled()
Returns true if this capability is enabled. |
void |
postEvent(Event e)
Posts an event. |
void |
setEnabled(boolean t)
Sets whether this capability is enabled. |
java.lang.String |
toString()
Returns the runtime name of the capability instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Capability()
Method Detail |
public boolean isEnabled()
public void setEnabled(boolean t)
protected void autorun()
public Agent getAgent()
public java.lang.String toString()
public void postEvent(Event e)
getAgent().postEvent(e)
.
|
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.