Neokernel API

Agent Fields

The fields of the Agent class are listed below. For a complete list of Agent class members, see the Agent Members topic.

Public Static Fields

CREATING_STATE The agent is being created; initProps method called.
DATE_FORMAT
DESTROYED_STATE The agent has been destroyed and can no longer be used.
DESTROYING_STATE The agent is being destroyed; destroy method called.
FAILED_STATE The agent has failed; DESTROYING_STATE automatically entered.
RUNNING_STATE The agent is running and ready to be stopped.
STARTING_STATE The agent is starting; start method called.
STOPPED_STATE The agent is ready to be started or destroyed.
STOPPING_STATE The agent is stopping; stop method called.

Protected Instance Fields

agent_id This is where the agent_id is cached for use by the toString method.
agentControllerObj This is a reference to the AgentController assigned to this agent.
debugReporter This is a reference to the Reporter assigned to this agent for debug output. If this field is null (Nothing in Visual Basic) the debug method will be ignored.
errorReporter This is a reference to the Reporter assigned to this agent for error output. If this field is null, (Nothing in Visual Basic), the error methods will be ignored.
printlnReporter This is a reference to the Reporter assigned to this agent for println output. If this field is null (Nothing in Visual Basic) the println method will be ignored.
warningReporter This is a reference to the Reporter assigned to this agent for warning output. If this field is null (Nothing in Visual Basic) the warning methods will be ignored.

See Also

Agent Class | com.neokernel.nk Namespace