Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W
A
actionPerformed(ActionEvent)
- Method in class org.kaariboga.server.
Boga
Handles the menu events
addBase(String, KaaribogaAddress)
- Method in class org.kaariboga.domainserver.
DomainServer
Adds a new KaaribogaBase to this domain
addBaseListener(BaseListener)
- Method in class org.kaariboga.core.
KaaribogaBase
Adds a base event listener.
addClass(String, Class, byte[])
- Method in class org.kaariboga.core.
ClassManager
Adds a new class to the class manager.
addKaaribogaListener(KaaribogaListener)
- Method in class org.kaariboga.core.
Kaariboga
Adds the event listener for kaariboga events.
addKaaribogaMessageListener(KaaribogaMessageListener)
- Method in class org.kaariboga.core.
Kaariboga
Adds the message listener for kaariboga messages.
addKaaribogaOnArrival(Kaariboga, InetAddress)
- Method in class org.kaariboga.core.
KaaribogaBase
Adds a kaariboga to the base and starts it's thread.
addKaaribogaOnCreation(Kaariboga, InetAddress)
- Method in class org.kaariboga.core.
KaaribogaBase
Adds a kaariboga to the base, performs some initialisation and starts it's thread.
addMessageHandler(KbMessageHandler, String)
- Method in class org.kaariboga.core.
KaaribogaBase
Adds a message handler for a specified kind of message to this base.
address
- Variable in class org.kaariboga.core.
KaaribogaBase.ReceiveMessageThread
address
- Variable in class org.kaariboga.domainserver.
DomainServer
Address of this server
addService(KbPlugIn, String)
- Method in class org.kaariboga.core.
KaaribogaBase
Adds a service to this base.
agent
- Variable in class org.kaariboga.core.
KaaribogaBase.ReceiveMessageThread
AGENT_NOT_REACHABLE
- Static variable in interface org.kaariboga.io.
KbMessageHandler
The target base is online, but the agent is not there.
agentPaths
- Variable in class org.kaariboga.server.
Boga
The directories which include the agents
agentsPath
- Variable in class org.kaariboga.core.
ClassManager
The path where the agents class files are.
agentsPath
- Variable in class org.kaariboga.server.
Boga
String from the properties file, that determines the directories which include the agents
B
backupLogfile
- Static variable in class org.kaariboga.util.
Log
Name of the logfile backup
base
- Variable in class org.kaariboga.core.
KaaribogaInputStream
Address of the KaaribogaBase that invokes this input stream.
base
- Variable in class org.kaariboga.core.
Kaariboga
The base is the KaaribogaBase that hosts the kaariboga.
base
- Variable in class org.kaariboga.core.
KaaribogaBase.ReceiveMessageThread
base
- Variable in class org.kaariboga.core.
KaaribogaClassLoader
The address of the KaaribogaBase that called this class loader.
base
- Variable in class org.kaariboga.domainserver.
BaseEntry
Address of the server, that connects to the domain
base
- Variable in class org.kaariboga.plugin.
KbPlugInManager
The base this plug-in is connected to
BASE_NOT_REACHABLE
- Static variable in interface org.kaariboga.io.
KbMessageHandler
The target base of the message can not be reached.
BASE_OFFLINE
- Static variable in interface org.kaariboga.io.
KbMessageHandler
No messages can be delivered to other bases, because the base is offline.
baseAddress
- Variable in class org.kaariboga.core.
KaaribogaBase
The KaaribogaAddress of this base
baseEntries
- Variable in class org.kaariboga.domainserver.
DomainServer
Bases connected to this domain plus some extra information
BaseEntry
- class org.kaariboga.domainserver.
BaseEntry
.
Stores data of a KaaribogaBase, that is connected to the domain.
BaseEntry(String, KaaribogaAddress)
- Constructor for class org.kaariboga.domainserver.
BaseEntry
BaseEvent
- class org.kaariboga.core.
BaseEvent
.
Events that can be fired by the kaariboga base.
BaseEvent(Object, String)
- Constructor for class org.kaariboga.core.
BaseEvent
Creates a new base event.
baseKaaribogaArrived(BaseEvent)
- Method in interface org.kaariboga.core.
BaseListener
Reaction when a kaariboga agent has arrived on the base or has been added on creation.
baseKaaribogaArrived(BaseEvent)
- Method in class org.kaariboga.server.
Boga
Reaction when a kaariboga agent has arrived on the base or has been added on creation.
baseKaaribogaCreated(BaseEvent)
- Method in interface org.kaariboga.core.
BaseListener
Reaction when a kaariboga agent has been put to a base and the base invoked the agent's onCreate method.
baseKaaribogaCreated(BaseEvent)
- Method in class org.kaariboga.server.
Boga
Reaction when a kaariboga agent has been put to a base and the base invoked the agent's onCreate method.
baseKaaribogaDestroyed(BaseEvent)
- Method in interface org.kaariboga.core.
BaseListener
Reaction when a kaariboga agent has been destroyed.
baseKaaribogaDestroyed(BaseEvent)
- Method in class org.kaariboga.server.
Boga
Reaction when a kaariboga agent has been destroyed.
baseKaaribogaLeft(BaseEvent)
- Method in interface org.kaariboga.core.
BaseListener
Reaction when a kaariboga agent left the base.
baseKaaribogaLeft(BaseEvent)
- Method in class org.kaariboga.server.
Boga
Reaction when a kaariboga agent left the base.
BaseListener
- interface org.kaariboga.core.
BaseListener
.
Interface for events that can be fired by the kaariboga base.
baseListeners
- Variable in class org.kaariboga.core.
KaaribogaBase
Classes that listen to the fired base events.
bases
- Variable in class org.kaariboga.domainserver.
DomainServer
Bases connected to this domain
BillyTheBit
- class org.kaariboga.agents.
BillyTheBit
.
Travels around in a domain at random and lets a message pop up on every computer at random choices.
BillyTheBit.Popup
- class org.kaariboga.agents.
BillyTheBit.Popup
.
Use a thread to let a window pop up.
BillyTheBit.Popup(BillyTheBit)
- Constructor for class org.kaariboga.agents.
BillyTheBit.Popup
BillyTheBit(String)
- Constructor for class org.kaariboga.agents.
BillyTheBit
Just initialize the super class.
binary
- Variable in class org.kaariboga.core.
KaaribogaMessage
Binary content of the message
Boga
- class org.kaariboga.server.
Boga
.
This class implements a kaariboga server with a nice user interface.
Boga()
- Constructor for class org.kaariboga.server.
Boga
Create a new Boga server.
boServer
- Variable in class org.kaariboga.core.
KaaribogaBase
Base online server that registers all servers in this domain.
boServer
- Variable in class org.kaariboga.server.
Boga
Address of the server that registers all servers in domain.
boxes
- Variable in class org.kaariboga.core.
KaaribogaBase
Stores all agents and related information.
byteCode
- Variable in class org.kaariboga.core.
ClassManager.ClassBox
The korresponding bytecode of a loaded class.
C
cache
- Variable in class org.kaariboga.core.
ClassManager
Stores class data in ClassBoxes.
checkAccept(String, int)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if a class may accept connections on an incoming socket.
checkAccess(Thread)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
At the moment this is always allowed!
checkAccess(ThreadGroup)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
At the moment this is always allowed!
checkAwtEventQueueAccess()
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Always allowed!
checkConnect(String, int)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if a class may connect to a specified host.
checkCreateClassLoader()
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if a class may create it's own class loader.
checkDelete(String)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if a class may delete files.
checkExec(String)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if a class may execute a system command.
checkExit(int)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if a class is allowed to end the virtual machine.
checkFileLength()
- Static method in class org.kaariboga.util.
Log
Checks the length of the logfile.
checkLink(String)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Always allowed!
checkListen(int)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if a class may listen on a specified port.
checkPackageAccess(String)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Always allowed!
checkPackageDefinition(String)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Always allowed!
checkPropertiesAccess()
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if access to system properties is allowed.
checkPropertyAccess(String)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if access to system properties is allowed.
checkPropertyAccess(String, String)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if access to system properties is allowed.
checkRead(FileDescriptor)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if a class may read files through a file descriptor.
checkRead(String)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if a class may read files.
checkSecurityAccess(String)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Always allowed!
checkSetFactory()
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Always allowed!
checkTopLevelWindow(Object)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Alway returns true.
checkWrite(FileDescriptor)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if a class may write files with a give file descriptor.
checkWrite(String)
- Method in class org.kaariboga.core.
KaaribogaSecurityManager
Checks if writing files is allowed.
classCode
- Variable in class org.kaariboga.core.
ClassManager.ClassBox
The loaded class.
classManager
- Variable in class org.kaariboga.core.
KaaribogaInputStream
Handles classes and their byte codes.
classManager
- Variable in class org.kaariboga.core.
KaaribogaBase
Handles classes and their byte codes.
classManager
- Variable in class org.kaariboga.core.
KaaribogaClassLoader
Handles classes and byte codes.
classManager
- Variable in class org.kaariboga.server.
Boga
Manages the byte codes of the loaded classes.
ClassManager
- class org.kaariboga.core.
ClassManager
.
Stores the classes and the bytecodes of the loaded classes.
ClassManager.ClassBox
- class org.kaariboga.core.
ClassManager.ClassBox
.
Helper class for the ClassManager to wrap class and bytecodes of the loaded classes.
ClassManager.ClassBox(ClassManager, Class, byte[])
- Constructor for class org.kaariboga.core.
ClassManager.ClassBox
Creates a new ClassBox.
ClassManager.Remover
- class org.kaariboga.core.
ClassManager.Remover
.
Helper class for the ClassManager that removes a class after a given delay time.
ClassManager.Remover(ClassManager, String, long)
- Constructor for class org.kaariboga.core.
ClassManager.Remover
ClassManager(long, String[])
- Constructor for class org.kaariboga.core.
ClassManager
Create a new ClassManager.
command
- Variable in class org.kaariboga.agents.
Executer
The command to be executed.
content
- Variable in class org.kaariboga.core.
KaaribogaMessage
String content of the message.
count
- Variable in class org.kaariboga.core.
ClassManager.ClassBox
How many agents of this kind are loaded.
count
- Variable in class org.kaariboga.domainserver.
BaseEntry
Counts how often the server has allready reported being online
counter
- Variable in class org.kaariboga.core.
KaaribogaBase
Used to generate a unique name for a kaariboga.
Counter
- class org.kaariboga.agents.
Counter
.
Demonstrates the handling of time consuming applications by couning up to a given number.
Counter(String)
- Constructor for class org.kaariboga.agents.
Counter
Creates a new counter that counts up to a given number.
createCounter()
- Method in class org.kaariboga.server.
Boga
Creates a Counter and puts it to the base.
createExecuter()
- Method in class org.kaariboga.server.
Boga
Creates an Executer and puts it to the base.
createHelloAgent()
- Method in class org.kaariboga.server.
Boga
Generates a HelloAgent and puts it to the base.
createHelloTraveler()
- Method in class org.kaariboga.server.
Boga
Generates a HelloTraveler and puts it to the base.
createMessageReceiver()
- Method in class org.kaariboga.server.
Boga
Creates a MessageReceiver and puts it to the base.
createMessageSender()
- Method in class org.kaariboga.server.
Boga
Creates an MessageSender and puts it to the base.
createReproducer()
- Method in class org.kaariboga.server.
Boga
Creates an Reproducer and puts it to the base.
createReturnAgent()
- Method in class org.kaariboga.server.
Boga
Creates a ReturnAgent and puts it to the base.
creationTime
- Variable in class org.kaariboga.domainserver.
BaseEntry
Time in millis when this entry was created
cTravels
- Variable in class org.kaariboga.agents.
BillyTheBit
Count of travels.
D
DEBUG
- Static variable in class org.kaariboga.util.
Log
Used to write a debug message for extended information
dec(String)
- Method in class org.kaariboga.core.
ClassManager
Decreases the count of class name
delay
- Variable in class org.kaariboga.core.
ClassManager
delay
- Variable in class org.kaariboga.core.
ClassManager.Remover
Delay time in milliseconds after which the class is removed if it's cout = 0;
delay
- Variable in class org.kaariboga.core.
KaaribogaBase
Delay time in milliseconds after which an anused agent class is removed from memory.
deliveryService
- Variable in class org.kaariboga.domainserver.
DomainServer
Service for message transportation across network
DeliveryService
- class org.kaariboga.io.
DeliveryService
.
The DeliveryService receives messages and dispatches them to other bases.
DeliveryService(KbMessageHandler, int)
- Constructor for class org.kaariboga.io.
DeliveryService
Creates a new delivery service.
destination
- Variable in class org.kaariboga.core.
Kaariboga
This is the destination the kaariboga wants to be transfered next.
DESTROY_REQUEST
- Static variable in class org.kaariboga.core.
KaaribogaEvent
Send by an agent if it wants to be destroyed.
destroyKaariboga(Object, String)
- Method in class org.kaariboga.core.
KaaribogaBase
Destroys a kaariboga agent with all necessary clean up.
DISPATCH_REQUEST
- Static variable in class org.kaariboga.core.
KaaribogaEvent
Send by an agent if it wants to be transfered to a new location.
dispatch(Kaariboga, KaaribogaAddress)
- Method in class org.kaariboga.core.
KaaribogaBase
Dispatches a kaariboga to another base.
dispatchKaariboga(Object, String, KaaribogaAddress)
- Method in class org.kaariboga.core.
KaaribogaBase
Dispatches a kaariboga agent with all necessary clean up.
dispose()
- Method in class org.kaariboga.core.
KaaribogaBase
Shuts down the network connection.
dispose()
- Method in class org.kaariboga.server.
Boga
Call for a proper clean up of the network connections.
DomainPlugIn
- class org.kaariboga.plugins.domainPlugIn.
DomainPlugIn
.
An example for the implementation of a plug-in.
DomainPlugIn(String)
- Constructor for class org.kaariboga.plugins.domainPlugIn.
DomainPlugIn
Initialize the plug-in with name and a service name.
domainServer
- Variable in class org.kaariboga.plugins.domainPlugIn.
DomainPlugIn
Address of the domain server
DomainServer
- class org.kaariboga.domainserver.
DomainServer
.
A class to build up domains for kaariboga servers.
DomainServer(int, long)
- Constructor for class org.kaariboga.domainserver.
DomainServer
DomainService
- class org.kaariboga.plugins.domainPlugIn.
DomainService
.
Service class that is provided by the plug-in.
DomainService(DomainPlugIn)
- Constructor for class org.kaariboga.plugins.domainPlugIn.
DomainService
E
e
- Variable in class org.kaariboga.core.
Kaariboga.FireMessageThread
The event to be send.
editDestroy()
- Method in class org.kaariboga.server.
Boga
Destroys the selected kaariboga.
editSendTo()
- Method in class org.kaariboga.server.
Boga
Sends the selected kaariboga to another base.
ERROR
- Static variable in class org.kaariboga.util.
Log
Used to write an error message
event
- Variable in class org.kaariboga.core.
Kaariboga.FireEventThread
The event that has to be fired.
Executer
- class org.kaariboga.agents.
Executer
.
The Executer is able to execute a program on a remote machine.
Executer(String)
- Constructor for class org.kaariboga.agents.
Executer
Creates a new executer and sets the command to execute.
F
fileChooser
- Variable in class org.kaariboga.server.
Boga
findClass(String)
- Method in class org.kaariboga.core.
KaaribogaClassLoader
Called by the super class method loadClass(String name) to load the class named class.
fireDestroyRequest()
- Method in class org.kaariboga.core.
Kaariboga
Fires a destroy request to the kaaribogaListener.
fireDispatchRequest()
- Method in class org.kaariboga.core.
Kaariboga
Fires a dispatch request to the kaaribogaListener.
fireKaaribogaArrived(String)
- Method in class org.kaariboga.core.
KaaribogaBase
Fires an event if a new kaariboga has arrived.
fireKaaribogaCreated(String)
- Method in class org.kaariboga.core.
KaaribogaBase
Fires an event if a new kaariboga was created.
fireKaaribogaDestroyed(String)
- Method in class org.kaariboga.core.
KaaribogaBase
Fires an event if a kaariboga has been destroyed.
fireKaaribogaLeft(String)
- Method in class org.kaariboga.core.
KaaribogaBase
Fires an event if a kaariboga was dispatched to another base.
fireKaaribogaMessage(KaaribogaMessage)
- Method in class org.kaariboga.core.
Kaariboga
Fires a message to the kaaribogaMessageListener.
fireSleepRequest()
- Method in class org.kaariboga.core.
Kaariboga
Fires a sleep request to the kaaribogaListener.
formatter
- Static variable in class org.kaariboga.util.
Log
date format
G
generateName()
- Method in class org.kaariboga.core.
KaaribogaBase
Generates a unique name that can be used to initialize agents.
getBaseAddress(Object)
- Method in class org.kaariboga.core.
KaaribogaBase
Returns the KaaribogaAddress of this base.
getByteCode(String)
- Method in class org.kaariboga.core.
ClassManager
Returns the byte code of a class
getClass(String)
- Method in class org.kaariboga.core.
ClassManager
Returns the class of a given name
getDestination()
- Method in class org.kaariboga.core.
Kaariboga
Gets the destination the kaariboga is going to be transfered next.
getID()
- Method in class org.kaariboga.core.
KaaribogaEvent
Returns the id of this message: DISPATCH_REQUEST, SLEEP_REQUEST or DESTROY_REQUEST
getKaaribogaNames(Object)
- Method in class org.kaariboga.core.
KaaribogaBase
Gets the names of all kaariboga agents on this base.
getMessage()
- Method in class org.kaariboga.core.
KaaribogaMessageEvent
Returns the message encapsulated by this event.
getMessageTypes()
- Method in class org.kaariboga.plugin.
KbPlugIn
Get the message types, this plug-in can handle.
getMessageTypes()
- Method in class org.kaariboga.plugins.domainPlugIn.
DomainPlugIn
Get the message types, this plug-in can handle.
getName()
- Method in class org.kaariboga.core.
Kaariboga
Returns the name of this agent.
getName()
- Method in class org.kaariboga.core.
BaseEvent
Returns the name of the kaariboga that has been added or removed from the base.
getOnlineStatus()
- Method in class org.kaariboga.core.
KaaribogaBase
Determines if the server is online.
getPlugIns()
- Method in class org.kaariboga.plugin.
KbPlugInManager
Returns the currently loaded plug-ins
getServers()
- Method in class org.kaariboga.plugins.domainPlugIn.
DomainService
getService(String)
- Method in class org.kaariboga.plugin.
KbPlugIn
Each plug-in must provide an object, that implements the methods the plug in provides for external classes like agents.
getService(String)
- Method in class org.kaariboga.plugins.domainPlugIn.
DomainPlugIn
This method returns an object, that can be used by agents or the server itself.
getService(String)
- Method in class org.kaariboga.plugins.helloPlugIn.
HelloPlugIn
This method returns an object, that can be used by agents or the server itself.
getServiceNames()
- Method in class org.kaariboga.plugin.
KbPlugIn
Returns the names of the services this plug-in provides.
getServiceNames(Object)
- Method in class org.kaariboga.core.
KaaribogaBase
Returns the names of all the services currently available.
getServiceObject(Object, String)
- Method in class org.kaariboga.core.
KaaribogaBase
Returns a service object for a specified service name.
goOffline()
- Method in class org.kaariboga.io.
DeliveryService
Removes connection to the internet.
goOffline()
- Method in class org.kaariboga.server.
Boga
Causes the base to go offline
goOffline(Object)
- Method in class org.kaariboga.core.
KaaribogaBase
Performs all neccessary actions to go offline
goOnline()
- Method in class org.kaariboga.io.
DeliveryService
Connects to the internet.
goOnline()
- Method in class org.kaariboga.server.
Boga
Causes the base to go online
goOnline(Object, int, KaaribogaAddress, KaaribogaAddress)
- Method in class org.kaariboga.core.
KaaribogaBase
Performs all neccessary actions to go online
goOnlineForDynamicIP(Object)
- Method in class org.kaariboga.core.
KaaribogaBase
If the server has no static IP address this method is called to determine the dynamic IP address.
H
handleMessage(KaaribogaMessage)
- Method in class org.kaariboga.core.
Kaariboga
Handles all kinds of kaariboga messages.
handleMessage(KaaribogaMessage)
- Method in interface org.kaariboga.core.
KbMessageHandler
Method to handle messages.
handleMessage(KaaribogaMessage)
- Method in class org.kaariboga.core.
KaaribogaBase
Handles incoming messages from other bases and kaaribogas.
handleMessage(KaaribogaMessage)
- Method in interface org.kaariboga.io.
KbMessageHandler
Called when a message for the DeliveryServiceUser has arrived.
handleMessage(KaaribogaMessage)
- Method in class org.kaariboga.io.
DeliveryService
Called by a receiving thread when a message has arrived.
handleMessage(KaaribogaMessage)
- Method in class org.kaariboga.agents.
MessageReceiver
Prints kind and content of the received message to the screen.
handleMessage(KaaribogaMessage)
- Method in class org.kaariboga.domainserver.
DomainServer
Called when a message for the DeliveryServiceUser has arrived.
handleMessage(KaaribogaMessage)
- Method in class org.kaariboga.plugins.domainPlugIn.
DomainPlugIn
overwrite handleMessage in Kaariboga
hashkey
- Variable in class org.kaariboga.domainserver.
BaseEntry
Should be the hashkey, that is used to store this Entry in a hashtable.
hasLogfile
- Static variable in class org.kaariboga.util.
Log
Is there a logfile to write to?
HelloAgent
- class org.kaariboga.agents.
HelloAgent
.
The HelloAgents just prints Hello World to the screen.
HelloAgent(String)
- Constructor for class org.kaariboga.agents.
HelloAgent
Just initialize the super class.
HelloDomain
- class org.kaariboga.agents.
HelloDomain
.
Pops up a hello Window on every server in the domain when a domain server is installed.
HelloDomain.Popup
- class org.kaariboga.agents.
HelloDomain.Popup
.
Use a thread to let a window pop up.
HelloDomain.Popup(HelloDomain)
- Constructor for class org.kaariboga.agents.
HelloDomain.Popup
HelloDomain(String)
- Constructor for class org.kaariboga.agents.
HelloDomain
Just initialize the super class.
HelloPlugIn
- class org.kaariboga.plugins.helloPlugIn.
HelloPlugIn
.
An example for the implementation of a plug-in.
HelloPlugIn(String)
- Constructor for class org.kaariboga.plugins.helloPlugIn.
HelloPlugIn
Initialize the plug-in with name and a service name.
HelloPlugInAgent
- class org.kaariboga.agents.
HelloPlugInAgent
.
The HelloPlugInAgents is an example of how to use a plug-in.
HelloPlugInAgent(String)
- Constructor for class org.kaariboga.agents.
HelloPlugInAgent
Just initialize the super class.
HelloService
- class org.kaariboga.plugins.helloPlugIn.
HelloService
.
An example for a service class.
HelloService()
- Constructor for class org.kaariboga.plugins.helloPlugIn.
HelloService
HelloTraveler
- class org.kaariboga.agents.
HelloTraveler
.
The travel agent just opens a dialog, travels to another base and prints Hello World to the screen.
HelloTraveler(String)
- Constructor for class org.kaariboga.agents.
HelloTraveler
Just initialize the super class.
host
- Variable in class org.kaariboga.core.
KaaribogaInputStream
The internet host that supplies the byte codes for the incoming agents.
host
- Variable in class org.kaariboga.core.
KaaribogaAddress
The host where the agent exists.
I
i
- Variable in class org.kaariboga.agents.
HelloDomain
Points to the next destination in v.
i
- Variable in class org.kaariboga.agents.
Counter
Count up to i.
id
- Variable in class org.kaariboga.core.
KaaribogaEvent
The events id.
inc(String)
- Method in class org.kaariboga.core.
ClassManager
Increases the count of class name
INFORMATION
- Static variable in class org.kaariboga.util.
Log
Used to write a normal status message
interval
- Variable in class org.kaariboga.util.
SimpleTimer
interval to wait between notifications
interval
- Variable in class org.kaariboga.domainserver.
DomainServer
time interval in millis after which old entries are deleted
interval
- Variable in class org.kaariboga.plugins.domainPlugIn.
DomainPlugIn
How many milliseconds to wait between sending of messages
ipServer
- Variable in class org.kaariboga.core.
KaaribogaBase
Server that serves dynamic IP addresses
ipServer
- Variable in class org.kaariboga.server.
Boga
Address of the server that determines the IP address of this server in case of dynamic IP
isOnline
- Variable in class org.kaariboga.core.
KaaribogaBase
Is this server on- or offline?
K
kaariboga
- Variable in class org.kaariboga.core.
KaaribogaBox
Reference to the agent.
Kaariboga
- class org.kaariboga.core.
Kaariboga
.
The Kaariboga class implements the base class of a mobile agent.
Kaariboga.FireEventThread
- class org.kaariboga.core.
Kaariboga.FireEventThread
.
Fires kaariboga events to the kaaribogaListener.
Kaariboga.FireEventThread(Kaariboga, KaaribogaEvent)
- Constructor for class org.kaariboga.core.
Kaariboga.FireEventThread
Kaariboga.FireMessageThread
- class org.kaariboga.core.
Kaariboga.FireMessageThread
.
Fires KaaribogaMessage to the kaaribogaMessageListener.
Kaariboga.FireMessageThread(Kaariboga, KaaribogaMessageEvent)
- Constructor for class org.kaariboga.core.
Kaariboga.FireMessageThread
Kaariboga(String)
- Constructor for class org.kaariboga.core.
Kaariboga
Constructs a new agent with it's name.
KaaribogaAddress
- class org.kaariboga.core.
KaaribogaAddress
.
Defines an address for agents.
KaaribogaAddress(InetAddress, int, String)
- Constructor for class org.kaariboga.core.
KaaribogaAddress
Constructs a new address.
KaaribogaAddress(String)
- Constructor for class org.kaariboga.core.
KaaribogaAddress
Constructs a new address for use on the local base server only.
kaaribogaBase
- Variable in class org.kaariboga.server.
Boga
The base that handles all kaaribogas.
KaaribogaBase
- class org.kaariboga.core.
KaaribogaBase
.
A class to host mobile agents called kaaribogas.
KaaribogaBase.ListenThread
- class org.kaariboga.core.
KaaribogaBase.ListenThread
.
Listens on the specified port and spawns new threads to receive incoming agents.
KaaribogaBase.ListenThread(KaaribogaBase, KaaribogaBase)
- Constructor for class org.kaariboga.core.
KaaribogaBase.ListenThread
KaaribogaBase.ReceiveMessageThread
- class org.kaariboga.core.
KaaribogaBase.ReceiveMessageThread
.
Handles a messages incoming through a socket connection.
KaaribogaBase.ReceiveMessageThread(KaaribogaBase, KaaribogaBase, Socket)
- Constructor for class org.kaariboga.core.
KaaribogaBase.ReceiveMessageThread
Creates a new Thread to receive a message.
KaaribogaBase.SendMessageThread
- class org.kaariboga.core.
KaaribogaBase.SendMessageThread
.
Sends a KaaribogaMessage to another base.
KaaribogaBase.SendMessageThread(KaaribogaBase, KaaribogaMessage)
- Constructor for class org.kaariboga.core.
KaaribogaBase.SendMessageThread
Creates a thread that sends a message to another host.
KaaribogaBase(Object, ClassManager)
- Constructor for class org.kaariboga.core.
KaaribogaBase
Creats a new Kaariboga Base.
KaaribogaBox
- class org.kaariboga.core.
KaaribogaBox
.
Stores relevant information to administrate agents on the base.
KaaribogaBox(Kaariboga, Thread, Date, InetAddress)
- Constructor for class org.kaariboga.core.
KaaribogaBox
Creates a new box.
KaaribogaClassLoader
- class org.kaariboga.core.
KaaribogaClassLoader
.
Helper class that creates a class from an array of bytes.
KaaribogaClassLoader(ClassManager, KaaribogaAddress, KaaribogaAddress)
- Constructor for class org.kaariboga.core.
KaaribogaClassLoader
Creates a new KaaribogaClassLoader
kaaribogaDestroyRequest(KaaribogaEvent)
- Method in class org.kaariboga.core.
KaaribogaBase
Handles the destroy request of a kaariboga.
kaaribogaDestroyRequest(KaaribogaEvent)
- Method in interface org.kaariboga.core.
KaaribogaListener
Handles the kaaribogas destroy request when it wants to be destroyed.
kaaribogaDispatchRequest(KaaribogaEvent)
- Method in class org.kaariboga.core.
KaaribogaBase
Handles the dispatch request of a kaariboga.
kaaribogaDispatchRequest(KaaribogaEvent)
- Method in interface org.kaariboga.core.
KaaribogaListener
Handles an agent's dispatch request when it wants to be transported to another base.
KaaribogaEvent
- class org.kaariboga.core.
KaaribogaEvent
.
This is the class for all events that can be fired by kaaribogas.
KaaribogaEvent(Object, int)
- Constructor for class org.kaariboga.core.
KaaribogaEvent
Creates a new kaariboga event.
KaaribogaInputStream
- class org.kaariboga.core.
KaaribogaInputStream
.
Reades a kaariboga objcect with the class file from the stream.
KaaribogaInputStream(ClassManager, KaaribogaAddress, InputStream, KaaribogaAddress)
- Constructor for class org.kaariboga.core.
KaaribogaInputStream
Creates a new KaaribogaInputStream.
kaaribogaListener
- Variable in class org.kaariboga.core.
Kaariboga
The event listener that receives all KaaribogaEvents.
KaaribogaListener
- interface org.kaariboga.core.
KaaribogaListener
.
Interface for events that can be fired by kaaribogas.
KaaribogaMessage
- class org.kaariboga.core.
KaaribogaMessage
.
The kaariboga message is a message that kaaribogas and bases can send to each other.
KaaribogaMessage(KaaribogaAddress, KaaribogaAddress, String, String, byte[])
- Constructor for class org.kaariboga.core.
KaaribogaMessage
Creates a new KaaribogaMessage.
kaaribogaMessage(KaaribogaMessageEvent)
- Method in interface org.kaariboga.core.
KaaribogaMessageListener
The kaariboga wants a message to be send.
kaaribogaMessage(KaaribogaMessageEvent)
- Method in class org.kaariboga.core.
KaaribogaBase
Handles messages that are fired by kaaribogas.
KaaribogaMessageEvent
- class org.kaariboga.core.
KaaribogaMessageEvent
.
This is the class for messages that can be fired by kaaribogas.
KaaribogaMessageEvent(Object, KaaribogaMessage)
- Constructor for class org.kaariboga.core.
KaaribogaMessageEvent
KaaribogaMessageListener
- interface org.kaariboga.core.
KaaribogaMessageListener
.
Interface for messages that can be fired by kaaribogas.
KaaribogaOutputStream
- class org.kaariboga.core.
KaaribogaOutputStream
.
Writes a kaariboga objcect with the class file to the stream.
KaaribogaOutputStream(OutputStream)
- Constructor for class org.kaariboga.core.
KaaribogaOutputStream
KaaribogaSecurityManager
- class org.kaariboga.core.
KaaribogaSecurityManager
.
Simple Security Manager to prevent agents doing some bad things.
KaaribogaSecurityManager(boolean)
- Constructor for class org.kaariboga.core.
KaaribogaSecurityManager
Creates a new security manager.
kaaribogaSleepRequest(KaaribogaEvent)
- Method in class org.kaariboga.core.
KaaribogaBase
Handles the sleep request of a kaariboga.
kaaribogaSleepRequest(KaaribogaEvent)
- Method in interface org.kaariboga.core.
KaaribogaListener
Not yet implemented!
KbMessageHandler
- interface org.kaariboga.core.
KbMessageHandler
.
Interface for classes who want to register as a message handler.
KbMessageHandler
- interface org.kaariboga.io.
KbMessageHandler
.
Every class in the Kaariboga environment, that is capable of receiving messages, should implement this interface.
KbPlugIn
- class org.kaariboga.plugin.
KbPlugIn
.
A plug-in provides the means to enhance a Kaariboga base.
KbPlugIn(String)
- Constructor for class org.kaariboga.plugin.
KbPlugIn
KbPlugInManager
- class org.kaariboga.plugin.
KbPlugInManager
.
Handles plug-ins that can be used to extend a Kaariboga server.
KbPlugInManager(KaaribogaBase)
- Constructor for class org.kaariboga.plugin.
KbPlugInManager
kind
- Variable in class org.kaariboga.core.
KaaribogaMessage
Kind of message.
L
lastUpdate
- Variable in class org.kaariboga.domainserver.
BaseEntry
Last time in millis, when the server has reported being online
lineSeparator
- Static variable in class org.kaariboga.util.
Log
OS dependent line separator
list
- Variable in class org.kaariboga.server.
Boga
listener
- Variable in class org.kaariboga.util.
SimpleTimer
The class, that is notified by this timer.
listenThread
- Variable in class org.kaariboga.core.
KaaribogaBase
Thread that accepts network connections.
listenThread
- Variable in class org.kaariboga.io.
DeliveryService
Thread listening for incoming messages
ListenThread
- class org.kaariboga.io.
ListenThread
.
Listens on the specified port and spawns new threads to receive incoming messages.
ListenThread(KbMessageHandler, int, Collection)
- Constructor for class org.kaariboga.io.
ListenThread
listModel
- Variable in class org.kaariboga.server.
Boga
listScroller
- Variable in class org.kaariboga.server.
Boga
loadClassData(String)
- Method in class org.kaariboga.core.
KaaribogaClassLoader
Called by findClass to get the class byte code.
loadFromFile()
- Method in class org.kaariboga.server.
Boga
Loads a kaariboga agent from a file
loadKaariboga(String)
- Method in class org.kaariboga.server.
Boga
Loads a kaariboga agent
loadPlugIn(String, Properties)
- Method in class org.kaariboga.plugin.
KbPlugInManager
Loads a plug-in with a given name and a given set of properties.
loadPlugIn(String, String)
- Method in class org.kaariboga.plugin.
KbPlugInManager
Loads a plug-in with a given name and a given set of properties.
localBaseAddress
- Variable in class org.kaariboga.server.
Boga
Address of the local Kaariboga base
Log
- class org.kaariboga.util.
Log
.
Global handling of logging and error messages.
Log()
- Constructor for class org.kaariboga.util.
Log
logfile
- Static variable in class org.kaariboga.util.
Log
Name of the logfile
loglevel
- Static variable in class org.kaariboga.util.
Log
Logging requests are fullfilled up to this loglevel.
M
m
- Variable in class org.kaariboga.core.
KaaribogaMessageEvent
The message encapsuleted by this event.
Main
- class org.kaariboga.domainserver.
Main
.
Reads in properties and starts the DomainServer
Main(String)
- Constructor for class org.kaariboga.domainserver.
Main
Reads in properties and starts the domain server.
main(String[])
- Static method in class org.kaariboga.server.
Boga
Create a new Boga server.
main(String[])
- Static method in class org.kaariboga.domainserver.
Main
Starts the program.
maxLogSize
- Static variable in class org.kaariboga.util.
Log
maximum size of the logfile in bytes, standard is 100000
maxTravels
- Variable in class org.kaariboga.agents.
BillyTheBit
Maximum count of travels.
mCreate
- Variable in class org.kaariboga.server.
Boga
mEdit
- Variable in class org.kaariboga.server.
Boga
menuBar
- Variable in class org.kaariboga.server.
Boga
menuCanceled(MenuEvent)
- Method in class org.kaariboga.server.
Boga
menuDeselected(MenuEvent)
- Method in class org.kaariboga.server.
Boga
menuSelected(MenuEvent)
- Method in class org.kaariboga.server.
Boga
message
- Variable in class org.kaariboga.core.
KaaribogaBase.ReceiveMessageThread
message
- Variable in class org.kaariboga.io.
SendMessageThread
message to send
message
- Variable in class org.kaariboga.agents.
BillyTheBit
The message that shows up.
messageDeliveryError(int, KaaribogaMessage)
- Method in interface org.kaariboga.io.
KbMessageHandler
Called in case a message could not be delivered.
messageDeliveryError(int, KaaribogaMessage)
- Method in class org.kaariboga.io.
DeliveryService
Called in case a message could not be delivered.
messageDeliveryError(int, KaaribogaMessage)
- Method in class org.kaariboga.domainserver.
DomainServer
Called in case a message could not be delivered.
messageHandler
- Variable in class org.kaariboga.io.
ReceiveMessageThread
Message handler, that should handle the received message.
messageHandler
- Variable in class org.kaariboga.io.
SendMessageThread
Message handler for errors in case the sending fails.
messageHandler
- Variable in class org.kaariboga.io.
ListenThread
Handles the incoming messages
messageHandlers
- Variable in class org.kaariboga.core.
KaaribogaBase
Message handlers that have registered on this base to handle certain kinds of messages.
messageListener
- Variable in class org.kaariboga.core.
Kaariboga
The message listener that receives all KaaribogaMessages.
MessageReceiver
- class org.kaariboga.agents.
MessageReceiver
.
The MessageReceiver agent waits for a message and then prints it out.
MessageReceiver(String)
- Constructor for class org.kaariboga.agents.
MessageReceiver
Just initialize the super class.
messages
- Variable in class org.kaariboga.agents.
BillyTheBit
MessageSender
- class org.kaariboga.agents.
MessageSender
.
The MessageSender agent sends a message to all agents on the base server.
MessageSender(String)
- Constructor for class org.kaariboga.agents.
MessageSender
Just initialize the super class.
messageTypes
- Variable in class org.kaariboga.plugins.domainPlugIn.
DomainPlugIn
The message types, this plug-in can handle
mFile
- Variable in class org.kaariboga.server.
Boga
miCreateCounter
- Variable in class org.kaariboga.server.
Boga
miCreateExecuter
- Variable in class org.kaariboga.server.
Boga
miCreateHelloAgent
- Variable in class org.kaariboga.server.
Boga
miCreateHelloTraveler
- Variable in class org.kaariboga.server.
Boga
miCreateMessageReceiver
- Variable in class org.kaariboga.server.
Boga
miCreateMessageSender
- Variable in class org.kaariboga.server.
Boga
miCreateReproducer
- Variable in class org.kaariboga.server.
Boga
miCreateReturnAgent
- Variable in class org.kaariboga.server.
Boga
miDestroy
- Variable in class org.kaariboga.server.
Boga
miExit
- Variable in class org.kaariboga.server.
Boga
miGoOffline
- Variable in class org.kaariboga.server.
Boga
miGoOnline
- Variable in class org.kaariboga.server.
Boga
miLoad
- Variable in class org.kaariboga.server.
Boga
miSendTo
- Variable in class org.kaariboga.server.
Boga
mServer
- Variable in class org.kaariboga.server.
Boga
msg
- Variable in class org.kaariboga.core.
KaaribogaBase.SendMessageThread
N
name
- Variable in class org.kaariboga.core.
ClassManager.Remover
Name of the class to be removed.
name
- Variable in class org.kaariboga.core.
Kaariboga
This is simply the name of the agent.
name
- Variable in class org.kaariboga.core.
BaseEvent
Name of the kaariboga that has been added or removed from the base.
name
- Variable in class org.kaariboga.core.
KaaribogaAddress
The name of the agent.
nChilds
- Variable in class org.kaariboga.agents.
Reproducer
Number of childs the agent will create.
NONE
- Static variable in class org.kaariboga.util.
Log
Loglevel, if no messages should be logged
O
onArrival()
- Method in class org.kaariboga.core.
Kaariboga
This is called when the kaariboga arrives on a new base.
onArrival()
- Method in class org.kaariboga.agents.
HelloAgent
Called by the base when the agent arrives on the base.
onArrival()
- Method in class org.kaariboga.agents.
HelloTraveler
This is automically called if the agent arrives on a base.
onArrival()
- Method in class org.kaariboga.agents.
HelloPlugInAgent
Called by the base when the agent arrives on the base.
onArrival()
- Method in class org.kaariboga.agents.
HelloDomain
Shows a window.
onArrival()
- Method in class org.kaariboga.agents.
ReturnAgent
This is called before run when the agent arrives from a trip.
onAwake()
- Method in class org.kaariboga.core.
Kaariboga
Called when the kaariboga is waked up again.
onCreate()
- Method in class org.kaariboga.core.
Kaariboga
This function is called on the first creation of the kaariboga.
onCreate()
- Method in class org.kaariboga.agents.
BillyTheBit
Initializes v with all servers connected to the domain.
onCreate()
- Method in class org.kaariboga.agents.
HelloTraveler
This is called just after the kaariboga has been created and the base has set the important fields.
onCreate()
- Method in class org.kaariboga.agents.
HelloDomain
Initializes v with all servers connected to the domain.
onCreate()
- Method in class org.kaariboga.agents.
ReturnAgent
This method is called when base has done some initialisation on the agent and before run.
onDestroy()
- Method in class org.kaariboga.core.
Kaariboga
This is called before the kaariboga is destroyed by the base.
onDestroy()
- Method in class org.kaariboga.agents.
Counter
Called by the kaariboga base when this agent has to be destroyed.
onDispatch()
- Method in class org.kaariboga.core.
Kaariboga
This is called before the kaariboga is going to be dispatched to a new location.
onDispatch()
- Method in class org.kaariboga.agents.
Counter
Called by the kaariboga base before the agent is dispatched to another base.
onDispatch()
- Method in class org.kaariboga.agents.
ReturnAgent
This method is called before the agent gets dispatched to another base.
onSimpleTimer()
- Method in interface org.kaariboga.util.
SimpleTimerListener
This method is called by a SimpleTimer in regular intervals
onSimpleTimer()
- Method in class org.kaariboga.domainserver.
DomainServer
Removes old base entries from the list of bases connected to the domain.
onSleep()
- Method in class org.kaariboga.core.
Kaariboga
Called before the kaariboga is send to sleep, maybe because it is going to be saved on a disk or just to save computation time.
org.kaariboga.agents
- package org.kaariboga.agents
Contains all agents.
org.kaariboga.core
- package org.kaariboga.core
The most important core classes.
org.kaariboga.domainserver
- package org.kaariboga.domainserver
Server to build a domain of several computers.
org.kaariboga.io
- package org.kaariboga.io
Handling of input and output operations.
org.kaariboga.plugin
- package org.kaariboga.plugin
Classes and Interfaces neccessary to create plug-ins.
org.kaariboga.plugins.domainPlugIn
- package org.kaariboga.plugins.domainPlugIn
Keeps connection to a domain server and provides a method to retrieve a list of servers connected to the domain.
org.kaariboga.plugins.helloPlugIn
- package org.kaariboga.plugins.helloPlugIn
Simple plug-in example.
org.kaariboga.server
- package org.kaariboga.server
User interface for the agent server.
org.kaariboga.util
- package org.kaariboga.util
Utilities like a logging class.
outMessage
- Variable in class org.kaariboga.core.
KaaribogaBase.ReceiveMessageThread
P
panel
- Variable in class org.kaariboga.server.
Boga
parent
- Variable in class org.kaariboga.core.
KaaribogaBase
The object that created this base.
parent
- Variable in class org.kaariboga.core.
KaaribogaBase.ListenThread
parent
- Variable in class org.kaariboga.plugins.domainPlugIn.
DomainService
plugInManager
- Variable in class org.kaariboga.server.
Boga
PlugInManager to handle the loaded plug-ins
plugIns
- Variable in class org.kaariboga.plugin.
KbPlugInManager
List of all the plugIns that are currently loaded
port
- Variable in class org.kaariboga.core.
KaaribogaBase
The port number on which the server listens.
port
- Variable in class org.kaariboga.core.
KaaribogaAddress
The port on which the server is listening.
port
- Variable in class org.kaariboga.io.
ListenThread
Port on which to listen for new messages.
port
- Variable in class org.kaariboga.io.
DeliveryService
Port on which this service receives messages
port
- Variable in class org.kaariboga.server.
Boga
Port number for connections
port
- Variable in class org.kaariboga.domainserver.
DomainServer
port on which to listen
postMessage(KaaribogaMessage)
- Method in class org.kaariboga.io.
DeliveryService
Delivers this message to the destination.
props
- Variable in class org.kaariboga.server.
Boga
Properties defined in Boga.config
R
ReceiveMessageThread
- class org.kaariboga.io.
ReceiveMessageThread
.
Receives a message through a socket connection.
ReceiveMessageThread(Socket, KbMessageHandler, Collection)
- Constructor for class org.kaariboga.io.
ReceiveMessageThread
Creates a new Thread to receive a message.
receivingThreads
- Variable in class org.kaariboga.io.
ReceiveMessageThread
Threads, that are currently receiving messages.
receivingThreads
- Variable in class org.kaariboga.io.
ListenThread
Collection of all threads currently receiving messages
receivingThreads
- Variable in class org.kaariboga.io.
DeliveryService
List of all threads currently receiving messages
recipient
- Variable in class org.kaariboga.core.
KaaribogaMessage
Recipient of this message.
registerPlugIn(KbPlugIn)
- Method in class org.kaariboga.plugin.
KbPlugInManager
Adds the specified plug-in to the KaaribogaBase A plug-in is only active after it has been registered.
removeBase(String)
- Method in class org.kaariboga.domainserver.
DomainServer
Removes a base from this domain.
removeBaseListener(BaseListener)
- Method in class org.kaariboga.core.
KaaribogaBase
Removes a base event listener.
removeClass(String)
- Method in class org.kaariboga.core.
ClassManager
Removes a class and it's bytecode from the class manager
removeMessageHandler(KbMessageHandler, String)
- Method in class org.kaariboga.core.
KaaribogaBase
Removes a message handler for a specified kind of message to this base.
removeService(KbPlugIn, String)
- Method in class org.kaariboga.core.
KaaribogaBase
Removes the service named name from this base.
Reproducer
- class org.kaariboga.agents.
Reproducer
.
The Reproducer agent is able to load other agents.
Reproducer(String)
- Constructor for class org.kaariboga.agents.
Reproducer
Just initialize the super class.
reset
- Variable in class org.kaariboga.util.
SimpleTimer
used to indicate if this timer has been reset
reset()
- Method in class org.kaariboga.util.
SimpleTimer
Resets this timer.
resolveClass(ObjectStreamClass)
- Method in class org.kaariboga.core.
KaaribogaInputStream
This is called by the super class if a new class is read in.
ReturnAgent
- class org.kaariboga.agents.
ReturnAgent
.
Example of a simple kaariboga that travels to another base returns and destroys itself.
ReturnAgent(String)
- Constructor for class org.kaariboga.agents.
ReturnAgent
Just initialize the super class.
rntime
- Variable in class org.kaariboga.agents.
Executer
Runtime object of the current JVM.
run()
- Method in class org.kaariboga.core.
ClassManager.Remover
Waits for the specified delay time and then removes the class from the cache if it's count = 0;
run()
- Method in class org.kaariboga.core.
Kaariboga
Run is the main method of the kaariboga thread.
run()
- Method in class org.kaariboga.core.
Kaariboga.FireEventThread
Checks the events id and calls the appropriate method of the event listener.
run()
- Method in class org.kaariboga.core.
Kaariboga.FireMessageThread
Calls kaariboaMesssageListner's kaaribogaMessage(m) method.
run()
- Method in class org.kaariboga.core.
KaaribogaBase.ReceiveMessageThread
Just handles the incoming message.
run()
- Method in class org.kaariboga.core.
KaaribogaBase.ListenThread
Accepts connections on the server socket.
run()
- Method in class org.kaariboga.core.
KaaribogaBase.SendMessageThread
Send the message through a socket connection.
run()
- Method in class org.kaariboga.io.
ReceiveMessageThread
Reads message.from a socket and dispatches it to the message handler.
run()
- Method in class org.kaariboga.io.
SendMessageThread
Send the message through a socket connection.
run()
- Method in class org.kaariboga.io.
ListenThread
Listens on a server socket and spawns new threads to receive messages.
run()
- Method in class org.kaariboga.util.
SimpleTimer
Just waits a specified time and notifies the listener.
run()
- Method in class org.kaariboga.agents.
HelloAgent
This is automically called if the agent arrives on a base.
run()
- Method in class org.kaariboga.agents.
BillyTheBit
This is automically called if the agent arrives on a base.
run()
- Method in class org.kaariboga.agents.
BillyTheBit.Popup
Pop up window.
run()
- Method in class org.kaariboga.agents.
Executer
Executes the given command if the base was started with the security off option (-soff).
run()
- Method in class org.kaariboga.agents.
HelloPlugInAgent
This is automically called if the agent arrives on a base.
run()
- Method in class org.kaariboga.agents.
HelloDomain
This is automically called if the agent arrives on a base.
run()
- Method in class org.kaariboga.agents.
HelloDomain.Popup
Pop up window.
run()
- Method in class org.kaariboga.agents.
ServerLister
Prints out the names of all servers connected to the domain.
run()
- Method in class org.kaariboga.agents.
MessageSender
Sends a message to all agents on this base and destroys itself.
run()
- Method in class org.kaariboga.agents.
Counter
The run method just counts and ends when the thread is set to null.
run()
- Method in class org.kaariboga.agents.
Reproducer
After an initial sleep period (grow up) the agent gives birth to new childs.
run()
- Method in class org.kaariboga.agents.
ReturnAgent
Run is called every time an agent get's loaded or arrives on a base.
run()
- Method in class org.kaariboga.domainserver.
Shutdown
This is called, when the program is terminated.
run()
- Method in class org.kaariboga.plugins.domainPlugIn.
DomainPlugIn
Notifies the domain server every interval milliseconds
S
sayHello()
- Method in class org.kaariboga.plugins.helloPlugIn.
HelloService
secure
- Variable in class org.kaariboga.core.
KaaribogaSecurityManager
selectedKaariboga
- Variable in class org.kaariboga.server.
Boga
Name of the agent that was selected in the list.
sendBasesList(KaaribogaAddress)
- Method in class org.kaariboga.domainserver.
DomainServer
Sends a list of all bases connected to the domain to a specified server.
sender
- Variable in class org.kaariboga.core.
KaaribogaMessage
Sender of this message.
sendingHost
- Variable in class org.kaariboga.core.
KaaribogaBox
Address of the host who sent the agent.
sendingThreads
- Variable in class org.kaariboga.io.
SendMessageThread
Threads, that are currently sending messages.
sendingThreads
- Variable in class org.kaariboga.io.
DeliveryService
List of all threads currently sending messages
SendMessageThread
- class org.kaariboga.io.
SendMessageThread
.
Sends a KaaribogaMessage to another base.
SendMessageThread(KaaribogaMessage, KbMessageHandler, Collection)
- Constructor for class org.kaariboga.io.
SendMessageThread
Creates a thread that sends a message to another host.
server
- Variable in class org.kaariboga.domainserver.
Shutdown
Server to shut down
ServerLister
- class org.kaariboga.agents.
ServerLister
.
Utility agent that prints out a list of all servers connected to the domain.
ServerLister(String)
- Constructor for class org.kaariboga.agents.
ServerLister
Just initialize the super class.
servers
- Variable in class org.kaariboga.agents.
BillyTheBit
List of all the servers in the domain.
servers
- Variable in class org.kaariboga.plugins.domainPlugIn.
DomainPlugIn
hashtable containing the server names and addresses.
serverSocket
- Variable in class org.kaariboga.core.
KaaribogaBase
Listens on the main port.
service
- Variable in class org.kaariboga.plugins.domainPlugIn.
DomainPlugIn
A class that provides a set of methods.
service
- Variable in class org.kaariboga.plugins.helloPlugIn.
HelloPlugIn
A class that provides a set of methods.
serviceNames
- Variable in class org.kaariboga.plugin.
KbPlugIn
serviceObject
- Variable in class org.kaariboga.agents.
HelloPlugInAgent
The object this class wants to access at a base.
serviceObject
- Variable in class org.kaariboga.agents.
ServerLister
The object this class wants to access at a base.
services
- Variable in class org.kaariboga.core.
KaaribogaBase
The base can be extended by services, that are provided by plug-ins.
setBase(KaaribogaBase)
- Method in class org.kaariboga.core.
Kaariboga
This is called by the base if a new kaariboga is created or received.
setLog(String, String)
- Static method in class org.kaariboga.util.
Log
Creates a new Log object that uses logfile as output.
setLoglevel(int)
- Static method in class org.kaariboga.util.
Log
Sets the loglevel of this Log.
setMaxLogSize(int)
- Static method in class org.kaariboga.util.
Log
Sets the maximum size of the logfile.
setProperties(Properties)
- Method in class org.kaariboga.plugin.
KbPlugIn
Set configuration options for this plug-in.
setProperties(Properties)
- Method in class org.kaariboga.plugins.domainPlugIn.
DomainPlugIn
Set configuration options for this plug-in.
setProperties(Properties)
- Method in class org.kaariboga.plugins.helloPlugIn.
HelloPlugIn
Set configuration options for this plug-in.
setStandardOutput(boolean)
- Static method in class org.kaariboga.util.
Log
Determines if Java standard output should be used.
shouldLive
- Variable in class org.kaariboga.core.
KaaribogaBase.ListenThread
shouldLive
- Variable in class org.kaariboga.io.
ListenThread
Should this thread continue to live or terminate?
shouldLive
- Variable in class org.kaariboga.util.
SimpleTimer
used to control, if this thread should terminate
shouldLive
- Variable in class org.kaariboga.agents.
Counter
Used to end the thread.
Shutdown
- class org.kaariboga.domainserver.
Shutdown
.
Shuts down the domain server, if a user hits CTRL+C
Shutdown(DomainServer)
- Constructor for class org.kaariboga.domainserver.
Shutdown
SimpleTimer
- class org.kaariboga.util.
SimpleTimer
.
A simple timer.
SimpleTimer(long, boolean, SimpleTimerListener)
- Constructor for class org.kaariboga.util.
SimpleTimer
Creates a new Timer that notifies it's listener once in every interval
SimpleTimerListener
- interface org.kaariboga.util.
SimpleTimerListener
.
Classes who want some action to be triggered by a SimpleTimer should implement this interface.
SLEEP_REQUEST
- Static variable in class org.kaariboga.core.
KaaribogaEvent
Send by an agent if it wants to be put asleep.
socket
- Variable in class org.kaariboga.core.
KaaribogaBase.ReceiveMessageThread
socket
- Variable in class org.kaariboga.core.
KaaribogaBase.ListenThread
socket
- Variable in class org.kaariboga.io.
ReceiveMessageThread
Socket on which to receive message
sourceHost
- Variable in class org.kaariboga.core.
KaaribogaClassLoader
The host that holds the source code for the class.
standardOut
- Static variable in class org.kaariboga.util.
Log
should messages be written to standard output?
strConfigFile
- Variable in class org.kaariboga.server.
Boga
Where the settings for the server are.
strIpServer
- Variable in class org.kaariboga.server.
Boga
server that serves a valid IP address in case of dynamic IP addressing
SUCCESS
- Static variable in class org.kaariboga.util.
Log
Used to write a success message.
T
terminate()
- Method in class org.kaariboga.core.
KaaribogaBase.ListenThread
terminate()
- Method in class org.kaariboga.io.
ListenThread
Terminates this thread.
terminate()
- Method in class org.kaariboga.util.
SimpleTimer
Terminates this timer.
terminate()
- Method in class org.kaariboga.domainserver.
DomainServer
terminates this server
thread
- Variable in class org.kaariboga.core.
KaaribogaBox
The agents thread.
timeOfArrival
- Variable in class org.kaariboga.core.
KaaribogaBox
Time when the agent arrived on the base or was loaded.
timer
- Variable in class org.kaariboga.domainserver.
DomainServer
timer, that triggers cleaning of old entries.
toString()
- Method in class org.kaariboga.core.
Kaariboga
Prints out an agents String representation.
toString()
- Method in class org.kaariboga.core.
KaaribogaMessage
toString()
- Method in class org.kaariboga.core.
KaaribogaAddress
Definition for String conversion
trips
- Variable in class org.kaariboga.agents.
HelloAgent
How often did the agent travel?
trips
- Variable in class org.kaariboga.agents.
HelloPlugInAgent
How often did the agent travel?
trips
- Variable in class org.kaariboga.agents.
ReturnAgent
Number of trips.
U
unregisterPlugIn(KbPlugIn)
- Method in class org.kaariboga.plugin.
KbPlugInManager
Removes the specified plug-in to the KaaribogaBase
user
- Variable in class org.kaariboga.io.
DeliveryService
This user is contacted in case something goes wrong with a posted message.
V
v
- Variable in class org.kaariboga.agents.
HelloDomain
List of all the servers in the domain.
valueChanged(ListSelectionEvent)
- Method in class org.kaariboga.server.
Boga
Remembers the agent that was chosen from the list.
version
- Variable in class org.kaariboga.core.
KaaribogaMessage
Unused at the moment.
version
- Variable in class org.kaariboga.core.
KaaribogaBase
Not used.
W
WARNING
- Static variable in class org.kaariboga.util.
Log
Used to write an warning message
write(int, String)
- Static method in class org.kaariboga.util.
Log
Writes a logging message.
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES