O'Reilly logo

Mobile Agents by Wilhelm R. Rossak, Peter Braun

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter
6
Specifications of the Kalong
Mobility Model
The third part of this book is completely devoted to the specification and
evaluation of the Kalong mobility model. First, we specify Kalong by defining
some application programming interfaces (APIs) and the Simple AgentTrans-
mission Protocol (SATP). You might want to skip this technical chapter and
continue with Chapter 7, in which we will introduce the Kalong software com-
ponent, which is the reference implementation of the Kalong mobiliy model.
Finally, in Chapter 8, we will report on several experiments we conducted to
assess the performance of the Kalong software component.
Contents
6.1 Introduction .................................................................................217
6.2 Kalong Vocabulary ..........................................................................220
6.3 Agent Model .................................................................................221
6.4 Application Programming Interfaces ...................................................228
6.5 The SATP Migration Protocol .............................................................243
6.1 Introduction
This chapter defines the Kalong
1
mobility model.
Kalong provides an efficient technique for migration of mobile agents
between computer platforms. It is designed to be ported on demand on
1. Kalong is the name of a fruit-eating flying fox, lat. Pteropus vampyrus, inhabiting Java island. The
Kalong is remarkable for its wingspan and its flying speed. The latter was the reason we chose this
name for our mobility model, besides the relation to Java.
218 Chapter 6 Specifications of the Kalong Mobility Model
AgencyAgency
TCP/SSL
Agent manager
File
system
Network
SATP
Migration
Kalong
Agent manager
Kalong
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
languages later.
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 notifies 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 file system in order to load class files, 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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required