org.kaariboga.core
Class KaaribogaBox

java.lang.Object
  |
  +--org.kaariboga.core.KaaribogaBox

public class KaaribogaBox
extends java.lang.Object

Stores relevant information to administrate agents on the base.


Field Summary
 Kaariboga kaariboga
          Reference to the agent.
 java.net.InetAddress sendingHost
          Address of the host who sent the agent.
 java.lang.Thread thread
          The agents thread.
 java.util.Date timeOfArrival
          Time when the agent arrived on the base or was loaded.
 
Constructor Summary
KaaribogaBox(Kaariboga kaariboga, java.lang.Thread thread, java.util.Date timeOfArrival, java.net.InetAddress sendingHost)
          Creates a new box.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

kaariboga

public Kaariboga kaariboga
Reference to the agent.

thread

public java.lang.Thread thread
The agents thread.

timeOfArrival

public java.util.Date timeOfArrival
Time when the agent arrived on the base or was loaded.

sendingHost

public java.net.InetAddress sendingHost
Address of the host who sent the agent.
Constructor Detail

KaaribogaBox

public KaaribogaBox(Kaariboga kaariboga,
                    java.lang.Thread thread,
                    java.util.Date timeOfArrival,
                    java.net.InetAddress sendingHost)
Creates a new box.
Parameters:
kaariboga - Reference to the agent.
thread - The agent's thread.
timeOfArrival - Date when the agent arrived or was loaded.
sendingHost - The host that sent the agent.