fulmine.event.system
Class SubscribeEvent

java.lang.Object
  extended by fulmine.event.AbstractEvent
      extended by fulmine.event.system.AbstractSystemEvent
          extended by fulmine.event.system.SubscribeEvent
All Implemented Interfaces:
IEvent, ISystemEvent, IAddressable, IDescriptor, Cloneable

public final class SubscribeEvent
extends AbstractSystemEvent

A system event raised when an ISubscriptionManager receives a new subscription. The event is raised only on the first issue of the subscription; subsequent calls for the same subscription will not raise this event.

Application code can register an ISystemEventListener to receive these events in order to start servicing the affected event source(s).

Author:
Ramon Servadei
See Also:
ISubscriptionManager.subscribe(fulmine.event.subscription.ISubscriptionParameters), UnsubscribeEvent

Constructor Summary
SubscribeEvent(IEventManager context, IAddressable id)
          Standard constructor
 
Method Summary
 
Methods inherited from class fulmine.event.system.AbstractSystemEvent
getAdditionalToString, hideSourceFromToString
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface fulmine.event.IEvent
clone, getDrivingFrame, getFrame, getSource, getTriggerEvent, setTriggerEvent
 
Methods inherited from interface fulmine.IDescriptor
toDetailedString, toIdentityString
 
Methods inherited from interface fulmine.IAddressable
getAddress, getDomain, getIdentity, getType
 

Constructor Detail

SubscribeEvent

public SubscribeEvent(IEventManager context,
                      IAddressable id)
Standard constructor

Parameters:
context - the context the event is handled in
id - the subscription parameters


Copyright © 2007-2009. All Rights Reserved.