com.threerings.presents.dobj
Interface ElementUpdateListener

All Superinterfaces:
ChangeListener
All Known Implementing Classes:
ConfigRegistry.ObjectRecord, DatabaseConfigRegistry.DatabaseObjectRecord, DynamicListener, NamedElementUpdateListener, PeeredDatabaseConfigRegistry.PeerDatabaseObjectRecord, PrefsConfigRegistry.PrefsObjectRecord

public interface ElementUpdateListener
extends ChangeListener

Implemented by entities which wish to hear about element updates that take place for a particular distributed object.

See Also:
DObject.addListener(com.threerings.presents.dobj.ChangeListener)

Method Summary
 void elementUpdated(ElementUpdatedEvent event)
          Called when an element updated event has been dispatched on an object.
 

Method Detail

elementUpdated

void elementUpdated(ElementUpdatedEvent event)
Called when an element updated event has been dispatched on an object. This will be called after the event has been applied to the object. So fetching the element during this call will provide the new value for the element.

Parameters:
event - The event that was dispatched on the object.