org.datamanager.event
Class SubscribeEventGeneratorEvent
java.lang.Object
|
+--org.datamanager.event.DataManagerEventAdapter
|
+--org.datamanager.event.SubscribeEventGeneratorEvent
- All Implemented Interfaces:
- DataManagerEvent, EntityValue, KernelEvent, Serializable
- public class SubscribeEventGeneratorEvent
- extends DataManagerEventAdapter
- implements KernelEvent
This event is fired when
EventGenerator.subscribe()
is invoked.
- Author:
- Matthew Farrellee
- See Also:
- Serialized Form
SubscribeEventGeneratorEvent
public SubscribeEventGeneratorEvent(EventGenerator source,
EventHandler handler,
EventConstraint constraint)
- The public constructor used to create a
SubscribeEventGeneratorEvent
.
- Parameters:
source
- The source of this event. Usually 'this.'handler
- The EventHandler
that was
subscribed.constraint
- The EventConstraint
that was
subscribed.
getEventHandler
public EventHandler getEventHandler()
- Report the
EventHandler
that was subscribed.
- Returns:
- The
EventHandler
that was subscribed.
getConstraint
public EventConstraint getConstraint()
- Report the
EventConstraint
that was subscribed.
- Returns:
- The
EventConstraint
that was subscribed.
toString
public String toString()
- A toString() method to provide a meaningful
String
representation of this event.
- Specified by:
toString
in interface DataManagerEvent
- Specified by:
toString
in class DataManagerEventAdapter
- Returns:
- A meaningful
String
representation
of this event.
See the Helium Website