fulmine.event.system
Class EventSourceNotObservedEvent
java.lang.Object
fulmine.event.AbstractEvent
fulmine.event.system.AbstractSystemEvent
fulmine.event.system.EventSourceNotObservedEvent
- All Implemented Interfaces:
- IEvent, ISystemEvent, IAddressable, IDescriptor, Cloneable
public final class EventSourceNotObservedEvent
- extends AbstractSystemEvent
A system event raised when an IEventSource
has no more
IEventListener
instances observing it.
Application code can register an ISystemEventListener
to receive
these events in order to stop servicing the affected event source.
- Author:
- Ramon Servadei
- See Also:
EventSourceObservedEvent
Methods inherited from class fulmine.event.AbstractEvent |
clone, equals, getAddress, getDomain, getDrivingFrame, getFrame, getIdentity, getSource, getTriggerEvent, getType, hashCode, setAddress, setDrivingFrame, setFrame, setSource, setTriggerEvent, toDetailedString, toIdentityString, toString |
EventSourceNotObservedEvent
public EventSourceNotObservedEvent(String nativeContextIdentity,
IEventManager context,
IAddressable id)
- Standard constructor
- Parameters:
nativeContextIdentity
- the identity of the context the IEventSource
is native
to; its local contextcontext
- the context the event is handled inid
- the identifiable instance
getNativeContextIdentity
public String getNativeContextIdentity()
- Get the identity of the context the
IEventSource
is native to;
its local context
- Returns:
- the identity of the context the event source is local to
getAdditionalToString
protected String getAdditionalToString()
- Description copied from class:
AbstractEvent
- Delegate method for subclasses to provide additional toString
information. This should be a comma separated string, e.g.
"one, two, three"
- Overrides:
getAdditionalToString
in class AbstractSystemEvent
- Returns:
- the additional toString information in comma separated format
Copyright © 2007-2009. All Rights Reserved.