Package de.gsi.dataset.event
Class UpdatedDataEvent
- java.lang.Object
-
- java.util.EventObject
-
- de.gsi.dataset.event.UpdateEvent
-
- de.gsi.dataset.event.UpdatedDataEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AddedDataEvent,RemovedDataEvent
public class UpdatedDataEvent extends UpdateEvent
UpdatedDataEvent class that is passed along the notification performed by theEventSourceclass. The class is intended to be further extended by named derivatives to allow for context-based event filters.- Author:
- rstein
- See Also:
for details, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdatedDataEvent(EventSource source)generates new update eventUpdatedDataEvent(EventSource source, java.lang.String msg)generates new update eventUpdatedDataEvent(EventSource source, java.lang.String msg, java.lang.Object payload)generates new update event
-
Method Summary
-
Methods inherited from class de.gsi.dataset.event.UpdateEvent
getMessage, getPayLoad
-
-
-
-
Constructor Detail
-
UpdatedDataEvent
public UpdatedDataEvent(EventSource source)
generates new update event- Parameters:
source- the class issuing the event
-
UpdatedDataEvent
public UpdatedDataEvent(EventSource source, java.lang.String msg)
generates new update event- Parameters:
source- the class issuing the eventmsg- a customised message to be passed along (e.g. for debugging)
-
UpdatedDataEvent
public UpdatedDataEvent(EventSource source, java.lang.String msg, java.lang.Object payload)
generates new update event- Parameters:
source- the class issuing the eventmsg- a customised message to be passed along (e.g. for debugging)payload- a customised user pay-load to be passed to the listener
-
-