tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame^] | 1 | package org.onlab.onos.net.link; |
| 2 | |
| 3 | import org.onlab.onos.net.ProviderService; |
| 4 | |
| 5 | /** |
| 6 | * Means for injecting link information into the core. |
| 7 | */ |
| 8 | public interface LinkProviderService extends ProviderService { |
| 9 | |
| 10 | /** |
| 11 | * Signals that an infrastructure link has been connected. |
| 12 | * |
| 13 | * @param linkDescription link information |
| 14 | */ |
| 15 | void linkConnected(LinkDescription linkDescription); |
| 16 | |
| 17 | /** |
| 18 | * Signals that an infrastructure link has been disconnected. |
| 19 | * |
| 20 | * @param linkDescription link information |
| 21 | */ |
| 22 | void linkDisconnected(LinkDescription linkDescription); |
| 23 | |
| 24 | } |