public interface Link
ConnectionPoint. It is effectively a Layer 2 Link in the network.
Implementors could add an associated info LinkInfo which describes
the link status and the time of discovery.| Modifier and Type | Interface and Description |
|---|---|
static class |
Link.Type
Represents the type of link.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionPoint |
dst()
Returns the destination
connection point of the
referred link. |
LinkInfo |
info()
Returns the optional
link information associated with
the link. |
ConnectionPoint |
src()
Returns the source
connection point of the
referred link. |
void |
updateLinkInfo(LinkInfo info)
Updates the
link information of the link. |
ConnectionPoint src()
connection point of the
referred link.ConnectionPoint dst()
connection point of the
referred link.LinkInfo info()
link information associated with
the link. It describes the link status and the time of discovery of the
linkvoid updateLinkInfo(LinkInfo info)
link information of the link. It describes
the link status and the time of discovery of the linkinfo - the information to be associated with the referred linkCopyright © 2014. All Rights Reserved.