com.genesyslab.ail.event
Interface AbstractDnEvent

All Superinterfaces:
ObjectEvent, java.io.Serializable
All Known Subinterfaces:
DnEvent, DnRoutingPointEvent, DnUserEvent

public interface AbstractDnEvent
extends ObjectEvent

An event reporting AbstractDn status changes, data changes...


Nested Class Summary
static class AbstractDnEvent.EventReason
          Enum of the reason why this event has been published.
 
Method Summary
 java.util.Map getTEventExtensions()
          Returns TEvent extensions.
 java.util.Map getTEventReasons()
          Returns TEvent reasons.
 
Methods inherited from interface com.genesyslab.ail.event.ObjectEvent
getSource
 

Method Detail

getTEventExtensions

java.util.Map getTEventExtensions()
Returns TEvent extensions.
TEvent extensions are additional data that take into account switch-specific features.

Returns:
a map of key-value where the key is a String.

getTEventReasons

java.util.Map getTEventReasons()
Returns TEvent reasons.
TEvent reasons are additional data that provides reasons for results of the actions requested by the user. Reasons in the map correspond to the reasons specified in the method call that requested the actions. For instance, see Dn.login(java.lang.String, java.lang.String, java.lang.String, com.genesyslab.ail.Dn.Workmode, java.util.Map).

Returns:
a map of key-value where the key is a String.