public interface IAlertEvent extends IEvent
Modifier and Type | Method and Description |
---|---|
MessageView |
getBackingMessage()
Get the message view backing an alert event
|
long |
getEventTime()
Get the time the event occurred
|
MessageView |
getTriggeringMessage()
Get the message that triggered the alert.
|
void |
setBackingMessage(MessageView view)
Set the message view backing an alert event
Note: This method takes ownership of the set message view i.e.
|
acquire, dispose, getAcknowledger, getAttachment, getDelay, getDispatchTime, getInstanceNumber, getRemainingTime, getScheduledTime, getSource, getType, isEndOfBatch, isHandled, owners, setAcknowledger, setAttachment, setDelay, setEndOfBatch, setHandled, setSource
referenceTracker
long getEventTime()
void setBackingMessage(MessageView view)
Note: This method takes ownership of the set message view i.e. it will dispose it when the event is disposed.
MessageView getBackingMessage()
MessageView getTriggeringMessage()
Applications must not hold onto the message beyond the scope of the event
handler without obtaining a reference to it via MessageView.acquire()
.
Applications must treat this message as read only, and must not call any mutator method on the message.
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.