next up previous contents
Next: stopUser() Up: Extending the basic SysAgent Previous: initUser()   Contents

startUser()

Is called every time when the System Agent is (re-) started. Every Agent should be able to be stopped and restarted again. This leads for the requirement that it has to put here everything which is necessary to start. This is the place to register the proxies at the platform. The MAFFinderService startUser method has for example the following content:

public void startUser() {

   mafFinderProxy = new MAFFinderProxy(this);

   helper.registerProxy(mafFinderProxy);

   helper.println(``Started.'');

}               



Thomas Letsch 2001-02-21