Package org.onosproject.net.link
Interface LinkDescription
-
- All Superinterfaces:
Annotated,Description
- All Known Implementing Classes:
DefaultLinkDescription
public interface LinkDescription extends Description
Describes an infrastructure link.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectPointdst()Returns the link destination.booleanisExpected()Returns true if the link is expected, false otherwise.ConnectPointsrc()Returns the link source.Link.Typetype()Returns the link type.-
Methods inherited from interface org.onosproject.net.Description
annotations
-
-
-
-
Method Detail
-
src
ConnectPoint src()
Returns the link source.- Returns:
- links source
-
dst
ConnectPoint dst()
Returns the link destination.- Returns:
- links destination
-
type
Link.Type type()
Returns the link type.- Returns:
- link type
-
isExpected
boolean isExpected()
Returns true if the link is expected, false otherwise.- Returns:
- expected flag
-
-