Package org.refcodes.observer
Class AbstractEvent<SRC>
- java.lang.Object
-
- org.refcodes.observer.AbstractEvent<SRC>
-
- Type Parameters:
SRC- the generic type for the event's source.
- All Implemented Interfaces:
org.refcodes.mixin.SourceAccessor<SRC>,GenericEvent<SRC>
- Direct Known Subclasses:
AbstractActionEvent,AbstractMetaDataEvent,AbstractPayloadEvent,EventImpl,SubscribeEventImpl,UnsubscribeEventImpl
public abstract class AbstractEvent<SRC> extends java.lang.Object implements GenericEvent<SRC>
Basic implementation of theGenericEvent.
-
-
Constructor Summary
Constructors Constructor Description AbstractEvent(SRC aSource)Constructs an event with the given source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SRCgetSource()
-
-
-
Constructor Detail
-
AbstractEvent
public AbstractEvent(SRC aSource)
Constructs an event with the given source.- Parameters:
aSource- The source from which this event originated.
-
-