This is a base class for writing agents for applications that have
a life cycle exceeding a single tool agent invocation, and have only
state information that can efficiently be persisted as a binary
large object in an RDBMs.
An example for such an application is the wait tool (see User
Manual). A wait tool (or "wait application") is created by one
tool agent invocation. Then another tool agent invocation waits
for the completion of the wait, while yet another tool agent
invocation may cause the wait tool to complete prematurely. The
wait tool has state that is controlled by the tool agents and a
timer provided by the enviroment. Its state is therefore completely
serializable (no open sockets, tool controlled threads etc.).
This base class mainly provides access to the
SimpleApplicationDirectory application directory that does all the
important work.
author: Michael Lipp version: $Revision: 1.2 $ |