Module it.rebirthproject.ufoeb
Class PostStickyEventMessage
java.lang.Object
it.rebirthproject.ufoeb.architecture.messages.interfaces.AbstractCommandMessage
it.rebirthproject.ufoeb.architecture.messages.commands.PostStickyEventMessage
- All Implemented Interfaces:
Message
An internal message sent from the event bus infrastructure to the
EventBus
'
MemoryState
when a sticky event is posted to the bus. The
PostStickyEventMessage
wraps the posted sticky event. The
BusMemoryStateManager
will consume each
PostStickyEventMessage
and send it to the workers queue to process
the event after setting it sticky.- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPostStickyEventMessage
(Object stickyEventToPost) The constructor to build aPostStickyEventMessage
-
Method Summary
Modifier and TypeMethodDescriptionGetter for the wrapped event to postGetter for the message typeMethods inherited from class it.rebirthproject.ufoeb.architecture.messages.interfaces.AbstractCommandMessage
toString
-
Field Details
-
stickyEventToPost
The sticky event to post
-
-
Constructor Details
-
PostStickyEventMessage
The constructor to build aPostStickyEventMessage
- Parameters:
stickyEventToPost
- The sticky event to post
-
-
Method Details
-
getMessageType
Getter for the message type- Returns:
- The message type
-
getEventToPost
Getter for the wrapped event to post- Returns:
- The sticky event to post wrapped in the PostedEventMessage
-