218 Chapter 6 Speciﬁcations of the Kalong Mobility Model
Network adapterNetwork adapter
Figure 6.1 Kalong and its environment.
different machines, operating systems, network architectures, and network
transport protocols. In the current version, Kalong is based on the Java
programming language. We plan to translate Kalong to other programming
Kalong is supposed to be embedded in an agency software and to
communicate with three other components, see Figure 6.1.
1. The agent manager is responsible for agent execution and other basic
functions of a mobile agent server. It tells Kalong when to start a migra-
tion process and how the migration should work. Kalong notiﬁes the
agent manager about received agents.
2. The network is not directly accessed by Kalong; a network adapter com-
ponent sorts through the details of a network protocol and works as a
dispatcher for a different set of protocols. Kalong communicates with
the network adapter using a very limited interface, which only provides
functions to open and close a network connection and to send and
receivebyte sequences. Foreach network protocol, the network adapter
launches a server that listens to a network port for incoming migrations.
The network adapter informs Kalong about incoming requests.
3. Kalong must have access to a ﬁle system in order to load class ﬁles, or
they can be loaded from remote network resources, accessible using a
URL address and an HTTP or FTP connection. The latter is not pictured
in Figure 6.1.