com.threerings.presents.dobj
Interface EventListener
- All Superinterfaces:
- ChangeListener
- All Known Implementing Classes:
- InvocationDirector, InvocationManager
public interface EventListener
- extends ChangeListener
Implemented by entities which wish to hear about all events being dispatched on a particular
distributed object.
- See Also:
DObject.addListener(com.threerings.presents.dobj.ChangeListener)
|
Method Summary |
void |
eventReceived(DEvent event)
Called when any event has been dispatched on an object. |
eventReceived
void eventReceived(DEvent event)
- Called when any event has been dispatched on an object. The event will be of the derived
class that corresponds to the kind of event that occurred on the object. This will be
called after the event has been applied to the object. So fetching an attribute
upon receiving an attribute changed event will provide the new value for the attribute.
- Parameters:
event - The event that was dispatched on the object.