net.clackrouter.topology.core
Class TopologyModel.Link
java.lang.Object
net.clackrouter.topology.core.TopologyModel.Link
- Enclosing class:
- TopologyModel
public static class TopologyModel.Link
- extends java.lang.Object
Represents an link between two hosts inside a topology.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
host1
public TopologyModel.Host host1
host2
public TopologyModel.Host host2
iface1
public TopologyModel.Interface iface1
iface2
public TopologyModel.Interface iface2
isEnabled
public boolean isEnabled
listeners
public java.util.ArrayList listeners
TopologyModel.Link
public TopologyModel.Link(TopologyModel.Host h1,
TopologyModel.Interface i1,
TopologyModel.Host h2,
TopologyModel.Interface i2,
boolean up)
addListener
public void addListener(TopoWire w)
fireListeners
public void fireListeners()
alert
public void alert()