next up previous contents
Next: TAgents Up: System Previous: Communication   Contents

Creating a TAgent

The creation of an Agent is done of a call to the method loadTAgent from the TAgentLauncher. Then the platform creates a new id for the Agent and calls the RMIClassLoader for loading the required class from the URL given by the requester. The new Agent is then instantiated and a new TAgentLoader for this Agent is created and advised to start the Agent. At last the loader is put with the TAgentId into the hashtableTAgentLoaders to store it.



Thomas Letsch 2001-02-21