org.kaariboga.domainserver
Class BaseEntry

java.lang.Object
  |
  +--org.kaariboga.domainserver.BaseEntry

public class BaseEntry
extends java.lang.Object

Stores data of a KaaribogaBase, that is connected to the domain.


Field Summary
 KaaribogaAddress base
          Address of the server, that connects to the domain
 long count
          Counts how often the server has allready reported being online
 long creationTime
          Time in millis when this entry was created
 java.lang.String hashkey
          Should be the hashkey, that is used to store this Entry in a hashtable.
 long lastUpdate
          Last time in millis, when the server has reported being online
 
Constructor Summary
BaseEntry(java.lang.String hashkey, KaaribogaAddress base)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

base

public KaaribogaAddress base
Address of the server, that connects to the domain

hashkey

public java.lang.String hashkey
Should be the hashkey, that is used to store this Entry in a hashtable. This is needed for better performance

creationTime

public long creationTime
Time in millis when this entry was created

lastUpdate

public long lastUpdate
Last time in millis, when the server has reported being online

count

public long count
Counts how often the server has allready reported being online
Constructor Detail

BaseEntry

public BaseEntry(java.lang.String hashkey,
                 KaaribogaAddress base)
Parameters:
hashkey - Hashkey, that is used to store this Entry in a hashtable.
base - Address of the server, that connects to the domain