public interface LinkSupplierService extends SupplierService
Modifier and Type | Method and Description |
---|---|
Link |
createOrUpdateLink(ConnectionPoint src,
ConnectionPoint dst,
LinkInfo linkInfo)
Returns a new or updated infrastructure
Link
and updates the link information store. |
void |
removeAllLinks(ConnectionPoint cp)
Removes all infrastructure links to/from the given connection point.
|
void |
removeAllLinks(DeviceId device)
Removes all infrastructure links to/from the given device.
|
void |
removeLink(ConnectionPoint src,
ConnectionPoint dst)
Removes an infrastructure link from the cache.
|
Link createOrUpdateLink(ConnectionPoint src, ConnectionPoint dst, LinkInfo linkInfo)
Link
and updates the link information store. Note that the link.info returned
may not match the linkInfo passed in as the supplier updates the stored
info if appropriate.src
- source connection pointdst
- destination connection pointlinkInfo
- infrastructure link information to updatevoid removeLink(ConnectionPoint src, ConnectionPoint dst)
src
- source connection pointdst
- destination connection pointvoid removeAllLinks(DeviceId device)
device
- device whose links will be removed from the cache.void removeAllLinks(ConnectionPoint cp)
cp
- connection point whose links will be removed from the cache.Copyright © 2015. All Rights Reserved.