Module it.rebirthproject.ufoeb
Class RemoveStickyEventMessage
java.lang.Object
it.rebirthproject.ufoeb.architecture.messages.interfaces.AbstractCommandMessage
it.rebirthproject.ufoeb.architecture.messages.commands.RemoveStickyEventMessage
- All Implemented Interfaces:
Message
An internal message sent when a sticky event must to be removed from the
EventBus'
MemoryState. The RemoveStickyEventMessage is sent to the
BusMemoryStateManager which will consume it and remove the sticky
event. The RemoveStickyEventMessage wraps the sticky event class to
be removed.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRemoveStickyEventMessage(Class<?> eventClass) The constructor to build aRemoveStickyEventMessage -
Method Summary
Modifier and TypeMethodDescriptionClass<?>Getter for the wrapped class of the sticky event to remove.Getter for the message typeMethods inherited from class it.rebirthproject.ufoeb.architecture.messages.interfaces.AbstractCommandMessage
toString
-
Field Details
-
eventClass
The class of the sticky event to remove.
-
-
Constructor Details
-
RemoveStickyEventMessage
The constructor to build aRemoveStickyEventMessage- Parameters:
eventClass- The class of the sticky event to remove.
-
-
Method Details
-
getMessageType
Getter for the message type- Returns:
- The message typemethod
-
getEventClass
Getter for the wrapped class of the sticky event to remove.- Returns:
- The class of the sticky event to remove
-