public class DefaultTopologyEvent extends AbstractModelEvent<Topology,TopologyEvent.Type> implements TopologyEvent
TopologyEvent.Type
E_NULL_SUBJECT
Constructor and Description |
---|
DefaultTopologyEvent(TopologyEvent.Type type,
Topology subject,
List<ModelEvent> reasons)
Constructs a topology event with the given type and topology.
|
DefaultTopologyEvent(Topology subject,
List<ModelEvent> reasons)
Constructs a topology event with the topology subject.
|
Modifier and Type | Method and Description |
---|---|
List<ModelEvent> |
reasons()
Returns the device & link events that triggered new topology
computation.
|
subject
time, toString, ts, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
subject, type
ts
public DefaultTopologyEvent(Topology subject, List<ModelEvent> reasons)
subject
- the link associated with the eventreasons
- optional list of trigger eventspublic DefaultTopologyEvent(TopologyEvent.Type type, Topology subject, List<ModelEvent> reasons)
type
- the type of eventsubject
- the link associated with the eventreasons
- optional list of trigger eventspublic List<ModelEvent> reasons()
TopologyEvent
reasons
in interface TopologyEvent
Copyright © 2016. All Rights Reserved.