Package jason.infra.components
Class AgentComponent
java.lang.Object
jason.infra.components.AgentComponent
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
ActComponent
,DeliberateComponent
,SenseComponent
-
Field Summary
Modifier and TypeFieldDescriptionprotected LocalAgArchAsynchronous
protected boolean
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
canSleep()
abstract void
enqueueExecutor
(boolean ts) boolean
void
sleep()
abstract void
wakeUp()
-
Field Details
-
ag
-
inQueue
protected boolean inQueue -
sleeping
protected boolean sleeping
-
-
Constructor Details
-
AgentComponent
-
-
Method Details
-
sleep
public void sleep() -
isSleeping
public boolean isSleeping() -
wakeUp
public abstract void wakeUp() -
enqueueExecutor
public abstract void enqueueExecutor(boolean ts) -
canSleep
public abstract boolean canSleep()
-