Serialized Form
Package org.kaariboga.agents |
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.
this$0
BillyTheBit this$0
shouldLive
java.lang.Thread shouldLive
- Used to end the thread.
i
int i
- Count up to i.
command
java.lang.String command
- The command to be executed.
trips
int trips
- How often did the agent travel?
v
java.util.Vector v
- List of all the servers in the domain.
i
int i
- Points to the next destination in v.
this$0
HelloDomain this$0
trips
int trips
- How often did the agent travel?
nChilds
int nChilds
- Number of childs the agent will create.
trips
int trips
- Number of trips.
Package org.kaariboga.core |
name
java.lang.String name
- Name of the kaariboga that has been added or removed from the base.
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.
this$0
Kaariboga this$0
event
KaaribogaEvent event
- The event that has to be fired.
this$0
Kaariboga this$0
e
KaaribogaMessageEvent e
- The event to be send.
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.
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.
this$0
KaaribogaBase this$0
parent
KaaribogaBase parent
socket
java.net.Socket socket
shouldLive
java.lang.Thread shouldLive
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
this$0
KaaribogaBase this$0
msg
KaaribogaMessage msg
id
int id
- The events id. This can be DISPATCH_REQUEST,
SLEEP_REQUEST or DESTROY_REQUEST.
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
m
KaaribogaMessage m
- The message encapsuleted by this event.
Package org.kaariboga.plugin |
serviceNames
java.lang.String[] serviceNames
Package org.kaariboga.plugins.domainPlugIn |
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
parent
DomainPlugIn parent
Package org.kaariboga.plugins.helloPlugIn |
service
HelloService service
- A class that provides a set of methods.
Package org.kaariboga.server |
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