Package de.gsi.dataset.event
Class UpdateEvent
- java.lang.Object
-
- java.util.EventObject
-
- de.gsi.dataset.event.UpdateEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
InvalidatedEvent,UpdatedDataEvent,UpdatedMetaDataEvent
public class UpdateEvent extends java.util.EventObjectEvent 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 UpdateEvent(EventSource source)generates new update eventUpdateEvent(EventSource source, java.lang.String msg)generates new update eventUpdateEvent(EventSource source, java.lang.String msg, java.lang.Object payload)generates new update event
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMessage()java.lang.ObjectgetPayLoad()
-
-
-
Constructor Detail
-
UpdateEvent
public UpdateEvent(EventSource source)
generates new update event- Parameters:
source- the class issuing the event
-
UpdateEvent
public UpdateEvent(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)
-
UpdateEvent
public UpdateEvent(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
-
-