|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectequip.runtime.Object
equip.runtime.ValueBase
equip.data.Event
equip.data.UpdateEvent
An event representing the update of a previously added ItemData instance in the dataspace; replaces the previous
item value with the new value in the event. Typically
generated by calls to DataProxy.updateItem(equip.data.ItemData, boolean, boolean). NOTE:
UpdateEvents should not be created by the application for
items with Leases; use an AddEvent instead (with the new Lease
value in the ItemBinding).
| Field Summary | |
ItemData |
item
The new item value (with the same id) |
| Fields inherited from class equip.data.Event |
metadata |
| Constructor Summary | |
UpdateEvent()
Default no-arg constructor |
|
| Method Summary | |
boolean |
_equals_helper(UpdateEvent c)
Internal IDL-generated equality test helper |
boolean |
_matches_helper(UpdateEvent c)
Internal IDL-generated match test helper |
boolean |
equals(java.lang.Object c)
Standard IDL-generated equality test. |
java.lang.String |
getModuleName()
IDL-generated helper routine to get module name (currently unimplemented). |
abstract void |
initFromItem(ItemData item,
GUID agentId,
boolean local,
boolean reliable)
Initialisation helper; see EventMetadata for most
arguments. |
abstract void |
initFromItem2(ItemData item,
GUID agentId,
boolean local,
boolean reliable,
int priority)
Initialisation helper; see EventMetadata for most
arguments. |
boolean |
matches(java.lang.Object c)
Standard IDL-generated template match test. |
void |
readObject(ObjectInputStream in)
Internal IDL-generated serialisation helper. |
void |
writeObject(ObjectOutputStream out)
Internal IDL-generated serialisation helper. |
| Methods inherited from class equip.data.Event |
_equals_helper, _matches_helper, initMetadata, initMetadata2 |
| Methods inherited from class equip.runtime.ValueBase |
_equals_helper, _matches_helper, clone |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public ItemData item
| Constructor Detail |
public UpdateEvent()
| Method Detail |
public abstract void initFromItem2(ItemData item,
GUID agentId,
boolean local,
boolean reliable,
int priority)
EventMetadata for most
arguments. NB only UpdateEvent and MutateEvent encourage
unreliable events
public abstract void initFromItem(ItemData item,
GUID agentId,
boolean local,
boolean reliable)
EventMetadata for most
arguments. NB only UpdateEvent and MutateEvent encourage
unreliable events
public java.lang.String getModuleName()
getModuleName in class Eventpublic boolean equals(java.lang.Object c)
equals in class Eventc - The object to be compared against this.
cpublic boolean _equals_helper(UpdateEvent c)
public boolean matches(java.lang.Object c)
matches in class Eventc - The object to be checked against this template.
this (as a template) matches the argumentpublic boolean _matches_helper(UpdateEvent c)
public void writeObject(ObjectOutputStream out)
throws java.io.IOException
ObjectInputStream and ObjectOutputStream only.
writeObject in class Eventjava.io.IOException
public void readObject(ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.InstantiationException
ObjectInputStream and ObjectOutputStream only.
readObject in class Eventjava.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||