| Constant and description |
|---|
| ALIVE
The owner of the event bus is running. |
| DEAD
The owner of the event bus was destroyed. |
| DYING
The owner of the event bus is under destruction. |
| INITIALIZING
The agent is under creation. |
| UNSTARTED
The agent is unstarted: before initialization process. |
| Modifier and type | Action and description |
|---|---|
| abstract boolean | isAlive
Replies if the state is one of the living states (initializing and alive). |
| abstract boolean | isAsynchronousEventHandling
Replies if the state accepts asynchronous event handling. |
| abstract boolean | isBlockingEventHandling
Replies if the state accepts blocking event handling. |
| abstract boolean | isPostAlive
Replies if the state is after the agent life. |
| abstract boolean | isPreAlive
Replies if the state is before the agent life. |
| static AgentState | valueOf(String) |
| static AgentState | values |
static val ALIVE : AgentState
static val DEAD : AgentState
static val DYING : AgentState
static val INITIALIZING : AgentState
static val UNSTARTED : AgentState
def isAlive : boolean
def isAsynchronousEventHandling : boolean
def isBlockingEventHandling : boolean
def isPostAlive : boolean
def isPreAlive : boolean
def valueOf(String) : AgentState
def values : AgentState