Interface BestPath
-
- All Known Implementing Classes:
AbstractBestPath
,AddPathBestPath
public interface BestPath
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NonNull Attributes
getAttributes()
Attributes.long
getPathId()
PathId.default @NonNull PeerId
getPeerId()
PeerId.RouterId
getRouterId()
RouterId.boolean
isDepreferenced()
Return true if this path is depreferenced.
-
-
-
Method Detail
-
getRouterId
RouterId getRouterId()
RouterId.- Returns:
- the routerId
-
getPeerId
default @NonNull PeerId getPeerId()
PeerId.- Returns:
- the routerId converted to a PeerId
-
getAttributes
@NonNull Attributes getAttributes()
Attributes.- Returns:
- the path attributes
-
getPathId
long getPathId()
PathId.- Returns:
- pathId
-
isDepreferenced
boolean isDepreferenced()
Return true if this path is depreferenced.- Returns:
- True if this path is depreferenced.
-
-