next up previous contents
Next: Command Queue Up: Extending the basic Agent Previous: suspendUser()   Contents

terminateUser()

This method is called when the Agent is being terminated. This is the last method called in the lifetime of the Agent. The Agent should clean up and exit after that this method.

These are the standard methods used for the different states in the life of an Agent. In all of these methods there should not be any code for processing the real tasks of the Agent. These are just for maintaining its own variables and states. The real work has to be put into another new method using the command queue mechanism to let it be called.



Thomas Letsch 2001-02-21