tom | 64b7aac | 2014-08-26 00:18:21 -0700 | [diff] [blame^] | 1 | package org.onlab.onos.net; |
| 2 | |
| 3 | import org.onlab.onos.net.provider.Provided; |
| 4 | |
| 5 | /** |
| 6 | * Abstraction of a network infrastructure link. |
| 7 | */ |
| 8 | public interface Link extends Provided { // TODO: Also should extend graph Edge |
| 9 | |
| 10 | /** |
| 11 | * Returns the link source connection point. |
| 12 | * |
| 13 | * @return link source connection point |
| 14 | */ |
| 15 | ConnectPoint src(); |
| 16 | |
| 17 | /** |
| 18 | * Returns the link destination connection point. |
| 19 | * |
| 20 | * @return link destination connection point |
| 21 | */ |
| 22 | ConnectPoint dst(); |
| 23 | |
| 24 | } |