Class PayloadEventImpl<P>

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.mixin.PayloadAccessor

        org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P extends Object,​B extends org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P,​B>>, org.refcodes.mixin.PayloadAccessor.PayloadMutator<P extends Object>, org.refcodes.mixin.PayloadAccessor.PayloadProperty<P extends Object>
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor

        org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      PayloadEventImpl​(P aPayload, Object aSource)
      Constructs an event with the given source.
    • Constructor Detail

      • PayloadEventImpl

        public PayloadEventImpl​(P aPayload,
                                Object aSource)
        Constructs an event with the given source.
        Parameters:
        aPayload - The payload to be carried by the event.
        aSource - The source from which this event originated.