|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAlertEvent
Represents an alert event
Method Summary | |
---|---|
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. |
Methods inherited from interface com.neeve.event.IEvent |
---|
acquire, dispose, getAcknowledger, getAttachment, getDelay, getDispatchTime, getInstanceNumber, getRemainingTime, getScheduledTime, getSource, getType, isEndOfBatch, isHandled, owners, setAcknowledger, setAttachment, setDelay, setEndOfBatch, setHandled, setSource |
Methods inherited from interface com.neeve.util.UtlReferenceTracker.HasReferenceTracker |
---|
referenceTracker |
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |