Package jade.wrapper
Class AgentState
- java.lang.Object
-
- jade.wrapper.StateBase
-
- jade.wrapper.AgentState
-
- All Implemented Interfaces:
Comparable,Serializable,State,Serializable,Comparable
public class AgentState extends StateBase
Provides a concrete implementation of the State interface for agents.
NOT available in MIDP- Author:
- David Bell, Dick Cowan: Hewlett-Packard
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intcAGENT_STATE_ACTIVEstatic intcAGENT_STATE_DELETEDstatic intcAGENT_STATE_IDLEstatic intcAGENT_STATE_INITIATEDstatic intcAGENT_STATE_SUSPENDEDstatic intcAGENT_STATE_TRANSITstatic intcAGENT_STATE_WAITING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)For testing, simply list the valid state descriptions and numbers.
-
-
-
Field Detail
-
cAGENT_STATE_INITIATED
public static final int cAGENT_STATE_INITIATED
- See Also:
- Constant Field Values
-
cAGENT_STATE_ACTIVE
public static final int cAGENT_STATE_ACTIVE
- See Also:
- Constant Field Values
-
cAGENT_STATE_IDLE
public static final int cAGENT_STATE_IDLE
- See Also:
- Constant Field Values
-
cAGENT_STATE_SUSPENDED
public static final int cAGENT_STATE_SUSPENDED
- See Also:
- Constant Field Values
-
cAGENT_STATE_WAITING
public static final int cAGENT_STATE_WAITING
- See Also:
- Constant Field Values
-
cAGENT_STATE_DELETED
public static final int cAGENT_STATE_DELETED
- See Also:
- Constant Field Values
-
cAGENT_STATE_TRANSIT
public static final int cAGENT_STATE_TRANSIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String[] args)
For testing, simply list the valid state descriptions and numbers.- Parameters:
args- Command line arguments, currently not used.
-
-