ASDK provides a network agent classloader that enables mobility of agent code, data and state information. The aglet runtime layer provides basic functionality such as creation, dispatch and disposal of aglets.
Aglets use an event-driven model and event listener objects to listen for aglet mobility events.
When an event occurs, a method of the corresponding eventlistener object is invoked to perform housekeeping chores either before or after the aglet movement. The basic functionality and runtime interfaces of aglets are defined by the Java Aglet, AgletProxy and AgletContext classes, as shown at the top of Figure . Each aglet is provided with a proxy that controls communication to that aglet. When the supplier's stationary Controller agent creates the supplier's mobile Sales agent, a reference to the mobile agent's proxy is returned automatically to the stationary Controller agent. The abstract class Aglet defines the fundamental methods that control the mobility and lifecycle of an aglet.