Serialized Form


Package org.kaariboga.agents

Class org.kaariboga.agents.BillyTheBit implements Serializable

Serialized Fields

messages

java.lang.String[] messages

servers

java.util.Vector servers
List of all the servers in the domain.

message

java.lang.String message
The message that shows up.

maxTravels

int maxTravels
Maximum count of travels.

cTravels

int cTravels
Count of travels.

Class org.kaariboga.agents.BillyTheBit.Popup implements Serializable

Serialized Fields

this$0

BillyTheBit this$0

Class org.kaariboga.agents.Counter implements Serializable

Serialized Fields

shouldLive

java.lang.Thread shouldLive
Used to end the thread.

i

int i
Count up to i.

Class org.kaariboga.agents.Executer implements Serializable

Serialized Fields

command

java.lang.String command
The command to be executed.

Class org.kaariboga.agents.HelloAgent implements Serializable

Serialized Fields

trips

int trips
How often did the agent travel?

Class org.kaariboga.agents.HelloDomain implements Serializable

Serialized Fields

v

java.util.Vector v
List of all the servers in the domain.

i

int i
Points to the next destination in v.

Class org.kaariboga.agents.HelloDomain.Popup implements Serializable

Serialized Fields

this$0

HelloDomain this$0

Class org.kaariboga.agents.HelloPlugInAgent implements Serializable

Serialized Fields

trips

int trips
How often did the agent travel?

Class org.kaariboga.agents.HelloTraveler implements Serializable

Class org.kaariboga.agents.MessageReceiver implements Serializable

Class org.kaariboga.agents.MessageSender implements Serializable

Class org.kaariboga.agents.Reproducer implements Serializable

Serialized Fields

nChilds

int nChilds
Number of childs the agent will create.

Class org.kaariboga.agents.ReturnAgent implements Serializable

Serialized Fields

trips

int trips
Number of trips.

Class org.kaariboga.agents.ServerLister implements Serializable


Package org.kaariboga.core

Class org.kaariboga.core.BaseEvent implements Serializable

Serialized Fields

name

java.lang.String name
Name of the kaariboga that has been added or removed from the base.

Class org.kaariboga.core.Kaariboga implements Serializable

Serialized Fields

name

java.lang.String name
This is simply the name of the agent.

destination

KaaribogaAddress destination
This is the destination the kaariboga wants to be transfered next. It is read by the base through the getDestination() method.

Class org.kaariboga.core.Kaariboga.FireEventThread implements Serializable

Serialized Fields

this$0

Kaariboga this$0

event

KaaribogaEvent event
The event that has to be fired.

Class org.kaariboga.core.Kaariboga.FireMessageThread implements Serializable

Serialized Fields

this$0

Kaariboga this$0

e

KaaribogaMessageEvent e
The event to be send.

Class org.kaariboga.core.KaaribogaAddress implements Serializable

Serialized Fields

host

java.net.InetAddress host
The host where the agent exists.

port

int port
The port on which the server is listening.

name

java.lang.String name
The name of the agent. This in unique around the whole world.

Class org.kaariboga.core.KaaribogaBase implements Serializable

Serialized Fields

version

int version
Not used.

isOnline

boolean isOnline
Is this server on- or offline? Use GetOnlineStatus to retrieve this value.

parent

java.lang.Object parent
The object that created this base. This variable is used for security purposes. The parent has more rights than other objects.

messageHandlers

java.util.HashMap messageHandlers
Message handlers that have registered on this base to handle certain kinds of messages.

services

java.util.HashMap services
The base can be extended by services, that are provided by plug-ins.

boServer

KaaribogaAddress boServer
Base online server that registers all servers in this domain.

ipServer

KaaribogaAddress ipServer
Server that serves dynamic IP addresses

baseListeners

java.util.Vector baseListeners
Classes that listen to the fired base events.

delay

long delay
Delay time in milliseconds after which an anused agent class is removed from memory.

port

int port
The port number on which the server listens.

baseAddress

KaaribogaAddress baseAddress
The KaaribogaAddress of this base

counter

long counter
Used to generate a unique name for a kaariboga.

listenThread

KaaribogaBase.ListenThread listenThread
Thread that accepts network connections.

classManager

ClassManager classManager
Handles classes and their byte codes.

boxes

java.util.Hashtable boxes
Stores all agents and related information.

serverSocket

java.net.ServerSocket serverSocket
Listens on the main port.

Class org.kaariboga.core.KaaribogaBase.ListenThread implements Serializable

Serialized Fields

this$0

KaaribogaBase this$0

parent

KaaribogaBase parent

socket

java.net.Socket socket

shouldLive

java.lang.Thread shouldLive

Class org.kaariboga.core.KaaribogaBase.ReceiveMessageThread implements Serializable

Serialized Fields

this$0

KaaribogaBase this$0

socket

java.net.Socket socket

base

KaaribogaBase base

message

KaaribogaMessage message

outMessage

KaaribogaMessage outMessage

address

java.net.InetAddress address

agent

Kaariboga agent

Class org.kaariboga.core.KaaribogaBase.SendMessageThread implements Serializable

Serialized Fields

this$0

KaaribogaBase this$0

msg

KaaribogaMessage msg

Class org.kaariboga.core.KaaribogaEvent implements Serializable

Serialized Fields

id

int id
The events id. This can be DISPATCH_REQUEST, SLEEP_REQUEST or DESTROY_REQUEST.

Class org.kaariboga.core.KaaribogaMessage implements Serializable

Serialized Fields

version

int version
Unused at the moment.

recipient

KaaribogaAddress recipient
Recipient of this message. If the recipient is another base the name field of the KaaribogaMessage should be empty.

sender

KaaribogaAddress sender
Sender of this message. If the sender is not an agent but the base the name field of the sender should be empty.

kind

java.lang.String kind
Kind of message.
Values:
KAARIBOGA: Message contains an an agent. content field contains the agent's name. binary field it's values.
GET: Get a kaariboga from another base. content field contains the agent's name.
GET_CLASS: Get the java byte code of a class. content field contains the class name.
CLASS: Message contains java byte code of a class. content field contains the class name. binary the byte code.
FILE: Message contains a file. content field contains the file name. binary the file.
MESSAGE: To send arbitrary messages. content and binary may be used freely.

content

java.lang.String content
String content of the message.

binary

byte[] binary
Binary content of the message

Class org.kaariboga.core.KaaribogaMessageEvent implements Serializable

Serialized Fields

m

KaaribogaMessage m
The message encapsuleted by this event.


Package org.kaariboga.plugin

Class org.kaariboga.plugin.KbPlugIn implements Serializable

Serialized Fields

serviceNames

java.lang.String[] serviceNames


Package org.kaariboga.plugins.domainPlugIn

Class org.kaariboga.plugins.domainPlugIn.DomainPlugIn implements Serializable

Serialized Fields

service

DomainService service
A class that provides a set of methods.

interval

long interval
How many milliseconds to wait between sending of messages

domainServer

KaaribogaAddress domainServer
Address of the domain server

servers

java.util.Hashtable servers
hashtable containing the server names and addresses.

messageTypes

java.lang.String[] messageTypes
The message types, this plug-in can handle

Class org.kaariboga.plugins.domainPlugIn.DomainService implements Serializable

Serialized Fields

parent

DomainPlugIn parent


Package org.kaariboga.plugins.helloPlugIn

Class org.kaariboga.plugins.helloPlugIn.HelloPlugIn implements Serializable

Serialized Fields

service

HelloService service
A class that provides a set of methods.

Class org.kaariboga.plugins.helloPlugIn.HelloService implements Serializable


Package org.kaariboga.server

Class org.kaariboga.server.Boga implements Serializable

Serialized Fields

strConfigFile

java.lang.String strConfigFile
Where the settings for the server are.

agentsPath

java.lang.String agentsPath
String from the properties file, that determines the directories which include the agents

agentPaths

java.lang.String[] agentPaths
The directories which include the agents

strIpServer

java.lang.String strIpServer
server that serves a valid IP address in case of dynamic IP addressing

menuBar

javax.swing.JMenuBar menuBar

mFile

javax.swing.JMenu mFile

miLoad

javax.swing.JMenuItem miLoad

miExit

javax.swing.JMenuItem miExit

mEdit

javax.swing.JMenu mEdit

miSendTo

javax.swing.JMenuItem miSendTo

miDestroy

javax.swing.JMenuItem miDestroy

mCreate

javax.swing.JMenu mCreate

miCreateHelloAgent

javax.swing.JMenuItem miCreateHelloAgent

miCreateHelloTraveler

javax.swing.JMenuItem miCreateHelloTraveler

miCreateReturnAgent

javax.swing.JMenuItem miCreateReturnAgent

miCreateCounter

javax.swing.JMenuItem miCreateCounter

miCreateExecuter

javax.swing.JMenuItem miCreateExecuter

miCreateMessageReceiver

javax.swing.JMenuItem miCreateMessageReceiver

miCreateMessageSender

javax.swing.JMenuItem miCreateMessageSender

miCreateReproducer

javax.swing.JMenuItem miCreateReproducer

mServer

javax.swing.JMenu mServer

miGoOnline

javax.swing.JMenuItem miGoOnline

miGoOffline

javax.swing.JMenuItem miGoOffline

fileChooser

javax.swing.JFileChooser fileChooser

panel

javax.swing.JPanel panel

list

javax.swing.JList list

listModel

javax.swing.DefaultListModel listModel

listScroller

javax.swing.JScrollPane listScroller

classManager

ClassManager classManager
Manages the byte codes of the loaded classes.

selectedKaariboga

java.lang.String selectedKaariboga
Name of the agent that was selected in the list.

kaaribogaBase

KaaribogaBase kaaribogaBase
The base that handles all kaaribogas.

plugInManager

KbPlugInManager plugInManager
PlugInManager to handle the loaded plug-ins

boServer

KaaribogaAddress boServer
Address of the server that registers all servers in domain.

ipServer

KaaribogaAddress ipServer
Address of the server that determines the IP address of this server in case of dynamic IP

port

int port
Port number for connections

localBaseAddress

KaaribogaAddress localBaseAddress
Address of the local Kaariboga base

props

java.util.Properties props
Properties defined in Boga.config