tom | 568581d | 2014-09-08 20:13:36 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net.topology; |
2 | |||||
3 | import org.onlab.graph.Edge; | ||||
4 | import org.onlab.onos.net.Link; | ||||
5 | |||||
6 | /** | ||||
7 | * Represents an edge in the topology graph. | ||||
8 | */ | ||||
tom | 9793755 | 2014-09-11 10:48:42 -0700 | [diff] [blame] | 9 | public interface TopologyEdge extends Edge<TopologyVertex> { |
tom | 568581d | 2014-09-08 20:13:36 -0700 | [diff] [blame] | 10 | |
11 | /** | ||||
12 | * Returns the associated infrastructure link. | ||||
13 | * | ||||
14 | * @return backing infrastructure link | ||||
15 | */ | ||||
16 | Link link(); | ||||
17 | |||||
18 | } |