Package org.refcodes.serial.ext.observer
Class SerialEvent<SRC>
java.lang.Object
org.refcodes.observer.AbstractEvent<SRC>
org.refcodes.serial.ext.observer.SerialEvent<SRC>
- Type Parameters:
SRC
- the generic type for the event's source.
- All Implemented Interfaces:
org.refcodes.mixin.SourceAccessor<SRC>
,org.refcodes.observer.Event<SRC>
- Direct Known Subclasses:
PayloadEvent
,TransmissionEvent
public abstract class SerialEvent<SRC>
extends org.refcodes.observer.AbstractEvent<SRC>
The
SerialEvent
is the base event for events belonging to this
package.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor
org.refcodes.mixin.SourceAccessor.SourceBuilder<SRC extends Object,
B extends org.refcodes.mixin.SourceAccessor.SourceBuilder<SRC, B>>, org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends Object> -
Constructor Summary
-
Method Summary
Methods inherited from class org.refcodes.observer.AbstractEvent
getSource
-
Constructor Details
-
SerialEvent
Constructs an event with the given source.- Parameters:
aSource
- The source from which this event originated.
-