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

    Constructors
    Constructor
    Description
    SerialEvent(SRC aSource)
    Constructs an event with the given source.
  • Method Summary

    Methods inherited from class org.refcodes.observer.AbstractEvent

    getSource

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SerialEvent

      public SerialEvent(SRC aSource)
      Constructs an event with the given source.
      Parameters:
      aSource - The source from which this event originated.