fulmine.event.system
Class UnsubscribeEvent
java.lang.Object
fulmine.event.AbstractEvent
fulmine.event.system.AbstractSystemEvent
fulmine.event.system.UnsubscribeEvent
- All Implemented Interfaces:
- IEvent, ISystemEvent, IAddressable, IDescriptor, Cloneable
public final class UnsubscribeEvent
- extends AbstractSystemEvent
A system event raised when an ISubscriptionManager
removes a
subscription.
Application code can register an ISystemEventListener
to receive
these events in order to stop servicing the affected event source(s).
However, the event source(s) may have other subscriptions still requiring
servicing; application code needs to check how many IEventListener
instances are still attached to any of the matching IEventSource
instances for the subscription before performing any cleanup for the
resources servicing the source.
- Author:
- Ramon Servadei
- See Also:
SubscribeEvent
,
ISubscriptionListener
,
ISubscriptionManager.unsubscribe(fulmine.event.subscription.ISubscriptionParameters)
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 |
UnsubscribeEvent
public UnsubscribeEvent(IEventManager context,
IAddressable id)
- Standard constructor
- Parameters:
context
- the context the event is handled inid
- the subscription parameters
Copyright © 2007-2009. All Rights Reserved.