Mica: Users Guide

Matthew John McGill

James Henry Westendorp

Mohammed Waleed Kadous

Claude Anthony Sammut

Licensing

Mica is released under the GNU Lesser General Public License(LGPL) version 3 or later. You should have received a copy of the license with Mica. For more information regarding the LGPL see http://www.gnu.org/licenses/lgpl.html.


Table of Contents

1. Introduction
Example Interaction
Mica Design
2. Running Mica
3. Mobs
Mob Types
Mob Persistence
4. Agents
Agent Functions
handleNewMob(Mob)
handleDeletedMob(Mob)
handleReplacedMob(Mob, Mob)
handleTypeManagerChanged()
setTransport(AgentTransport)
getTransport()
init(MicaProperties)
terminate()
Agent Transport
connect(String)
disconnect()
register(String)
unregister(String)
getTypeManager()
writeMob(Mob)
readMob(String)
deleteMob(String)
replaceMob(Mob)
mobSearch(String)
isConnected()
getAgentName()
setMessageHandler(MessageHandler)
synchronizedWriteMob(Mob, long)
5. Blackboards
Declaring Mob Types
6. MicaRunner
Interface
Configuration
7. Mica Security
SSL Connections
Secure XML Protocol
Verifying Agents
Restricting Agent Actions
8. Tools
DefaultAgents
SimpleAgentFrame
GUIAgent
LogDebugger
MobMaker
PDARunner
PDARunner Configuration
ProxyAgent
Services
Bibliography

List of Figures

1.1. Example Weather Interaction
1.2. Agent Connections to a Blackboard
3.1. Example Mob Type Hierarchy
5.1. Example Type Definitions
6.1. MicaRunner User Interface
6.2. Example MicaRunner Configuration File
7.1. Example Agent Verification File
7.2. Example Agent Rights File
8.1. LogDebugger Interface
8.2. MobMaker Interface
8.3. PDARunner Interface
8.4. Example PDARunner Configuration File