tom | 64b7aac | 2014-08-26 00:18:21 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net; |
2 | |||||
3 | /** | ||||
4 | * Abstraction of a network connection point expressed as a pair of the | ||||
5 | * device identifier and the device port number. | ||||
6 | */ | ||||
7 | public interface ConnectPoint { | ||||
8 | |||||
9 | /** | ||||
10 | * Returns the connection device identifier. | ||||
11 | * | ||||
12 | * @return device id | ||||
13 | */ | ||||
14 | DeviceId deviceId(); | ||||
15 | |||||
16 | /** | ||||
17 | * Returns the connection port number. | ||||
18 | * | ||||
19 | * @return port number | ||||
20 | */ | ||||
21 | PortNumber port(); | ||||
22 | |||||
23 | } |