equip.data
Class ItemEventKind

java.lang.Object
  extended byequip.data.ItemEventKind

public class ItemEventKind
extends java.lang.Object

The 'kind' of an AddEvent or DeleteEvent. EQDATA_KIND_NORMAL: new global event

EQDATA_KIND_LOCAL: local delivery of existing info pseudo event, synthesised to satisfy patterns looking for existing items

EQDATA_KIND_PRESENT, EQDATA_KIND_BOUND: delete only - due to agent remove set internally (from NORMAL) if add event with lease arrives with previous item still in place (this would be an error with a non-leased item)

EQDATA_KIND_LEASE_RENEW, EQDATA_KIND_LEASE_EXPIRE: delete generated due to lease expire


Field Summary
static int EQDATA_KIND_BOUND
          delete only - indicates that the event has been synthesised as a result of a process-bound data item's (see ItemBindingInfo.processBound) responsible agent leaving the dataspace.
static int EQDATA_KIND_LEASE_EXPIRE
          delete only - indicates that the event has been synthesised as a result of a item with a lease expiring (see ItemBindingInfo.itemLease).
static int EQDATA_KIND_LEASE_RENEW
          set internally (from NORMAL) if add event with lease arrives with previous item still in place (this would be an error with a non-leased item).
static int EQDATA_KIND_LOCAL
          not sure what this is for; local only event?
static int EQDATA_KIND_NORMAL
          new global event
static int EQDATA_KIND_PRESENT
          pseudo event typically synthesised by the dataspace to satisfy patterns looking for existing items
 
Constructor Summary
ItemEventKind()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EQDATA_KIND_NORMAL

public static final int EQDATA_KIND_NORMAL
new global event

See Also:
Constant Field Values

EQDATA_KIND_LOCAL

public static final int EQDATA_KIND_LOCAL
not sure what this is for; local only event?

See Also:
Constant Field Values

EQDATA_KIND_PRESENT

public static final int EQDATA_KIND_PRESENT
pseudo event typically synthesised by the dataspace to satisfy patterns looking for existing items

See Also:
Constant Field Values

EQDATA_KIND_BOUND

public static final int EQDATA_KIND_BOUND
delete only - indicates that the event has been synthesised as a result of a process-bound data item's (see ItemBindingInfo.processBound) responsible agent leaving the dataspace.

See Also:
Constant Field Values

EQDATA_KIND_LEASE_RENEW

public static final int EQDATA_KIND_LEASE_RENEW
set internally (from NORMAL) if add event with lease arrives with previous item still in place (this would be an error with a non-leased item).

See Also:
Constant Field Values

EQDATA_KIND_LEASE_EXPIRE

public static final int EQDATA_KIND_LEASE_EXPIRE
delete only - indicates that the event has been synthesised as a result of a item with a lease expiring (see ItemBindingInfo.itemLease).

See Also:
Constant Field Values
Constructor Detail

ItemEventKind

public ItemEventKind()