Class AbstractActionPayloadMetaDataEvent<A,P,EM extends EventMetaData,SRC>

    • Constructor Detail

      • AbstractActionPayloadMetaDataEvent

        public AbstractActionPayloadMetaDataEvent​(A aAction,
                                                  P aPayload,
                                                  EM aEventMetaData,
                                                  SRC aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aAction - The action which the event represents.
        aPayload - The payload to be carried by the event.
        aEventMetaData - The Meta-Data to by supplied by the event.
        aSource - The source from which this event originated.
      • AbstractActionPayloadMetaDataEvent

        public AbstractActionPayloadMetaDataEvent​(A aAction,
                                                  P aPayload,
                                                  SRC aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aAction - The action which the event represents.
        aPayload - The payload to be carried by the event.
        aSource - The source from which this event originated.
      • AbstractActionPayloadMetaDataEvent

        public AbstractActionPayloadMetaDataEvent​(P aPayload,
                                                  EM aEventMetaData,
                                                  SRC aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aPayload - The payload to be carried by the event.
        aEventMetaData - The Meta-Data to by supplied by the event.
        aSource - The source from which this event originated.
      • AbstractActionPayloadMetaDataEvent

        public AbstractActionPayloadMetaDataEvent​(P aPayload,
                                                  SRC aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aPayload - The payload to be carried by the event.
        aSource - The source from which this event originated.
    • Method Detail

      • getPayload

        public P getPayload()
        Specified by:
        getPayload in interface org.refcodes.mixin.PayloadAccessor<A>