|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEvent
An event represents a change that needs to be broadcasted to consumers. An
event is generated by an IEventSource
and is consumed by
IEventListener
objects. These listeners are registered against the
source using the IEventSource.addListener(IEventListener)
method.
Method Summary | |
---|---|
Object |
clone()
Clone this. |
IEventFrameExecution |
getDrivingFrame()
Get the event frame execution that directly caused this event to occur. |
IEventFrameExecution |
getFrame()
Get the event frame of this event. |
IEventSource |
getSource()
Get the event source that generated this event |
IEvent |
getTriggerEvent()
Get the 'trigger event'. |
void |
setTriggerEvent(IEvent triggerEvent)
Set the 'trigger event'. |
Methods inherited from interface fulmine.IDescriptor |
---|
toDetailedString, toIdentityString |
Methods inherited from interface fulmine.IAddressable |
---|
getAddress, getDomain, getIdentity, getType |
Method Detail |
---|
IEventSource getSource()
IEventFrameExecution getFrame()
IEventFrameExecution
that identifies the frame this
event occurred in.IEventFrameExecution getDrivingFrame()
An event occurs in its own event frame but it may have been caused by an event from another frame. This other frame is known as the 'driving' frame and directly causes this event. In this paradigm, where one event can cause another event to occur but in a separate event frame execution, it is sometimes necessary to know the frame of the first event so that the 2 events can be linked together.
IEventFrameExecution
that is the event frame execution
of the event that caused this event to occur.Object clone() throws CloneNotSupportedException
CloneNotSupportedException
Object#clone)_
void setTriggerEvent(IEvent triggerEvent)
IEventManager
queue after this event has been processed.
triggerEvent
- the trigger event that will be queued after this event
has been processed.IEvent getTriggerEvent()
IEventManager
queue after this event has been processed.
null
if there is not a trigger event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |