fulmine.distribution.events
Class ContextNotAvailableEvent

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

public class ContextNotAvailableEvent
extends AbstractSystemEvent

Raised by an IConnectionDiscoverer when a remote context is no longer available.

Author:
Ramon Servadei

Constructor Summary
ContextNotAvailableEvent(IEventManager context, String remoteContextIdentity)
          Standard constructor with the name of the remote IFrameworkContext that is no longer available.
 
Method Summary
protected  String getAdditionalToString()
          Delegate method for subclasses to provide additional toString information.
 String getRemoteContextIdentity()
           
 
Methods inherited from class fulmine.event.system.AbstractSystemEvent
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

ContextNotAvailableEvent

public ContextNotAvailableEvent(IEventManager context,
                                String remoteContextIdentity)
Standard constructor with the name of the remote IFrameworkContext that is no longer available.

Parameters:
context - the context for event operations
remoteContextIdentity - the name of the remote IFrameworkContext that is no longer available
Method Detail

getRemoteContextIdentity

public String getRemoteContextIdentity()

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.