tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net.link; |
2 | |||||
tom | c1a38d3 | 2014-08-25 23:01:32 -0700 | [diff] [blame] | 3 | import org.onlab.onos.net.provider.ProviderService; |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 4 | |
5 | /** | ||||
6 | * Means for injecting link information into the core. | ||||
7 | */ | ||||
tom | d735672 | 2014-08-26 01:07:39 -0700 | [diff] [blame] | 8 | public interface LinkProviderService extends ProviderService<LinkProvider> { |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 9 | |
10 | /** | ||||
tom | db0d03f | 2014-08-27 16:34:15 -0700 | [diff] [blame^] | 11 | * Signals that an infrastructure link has been detected. |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 12 | * |
13 | * @param linkDescription link information | ||||
14 | */ | ||||
tom | db0d03f | 2014-08-27 16:34:15 -0700 | [diff] [blame^] | 15 | void linkDetected(LinkDescription linkDescription); |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 16 | |
17 | /** | ||||
tom | db0d03f | 2014-08-27 16:34:15 -0700 | [diff] [blame^] | 18 | * Signals that an infrastructure link has disappeared. |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 19 | * |
20 | * @param linkDescription link information | ||||
21 | */ | ||||
tom | db0d03f | 2014-08-27 16:34:15 -0700 | [diff] [blame^] | 22 | void linkVanished(LinkDescription linkDescription); |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 23 | |
24 | } |