Class CalcRoute
- java.lang.Object
-
- io.patriot_framework.network.simulator.api.model.routes.CalcRoute
-
public class CalcRoute extends Object
Calculated route. Including all necessary info to describe routes.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getCost()
Gets cost.NextHop
getNextHop()
Gets next hop.int
hashCode()
void
setCost(Integer cost)
Sets cost.void
setNextHop(NextHop nextHop)
Sets next hop.
-
-
-
Method Detail
-
getNextHop
public NextHop getNextHop()
Gets next hop.- Returns:
- the next hop
-
setNextHop
public void setNextHop(NextHop nextHop)
Sets next hop.- Parameters:
nextHop
- the next hop
-
getCost
public Integer getCost()
Gets cost.- Returns:
- the cost
-
setCost
public void setCost(Integer cost)
Sets cost.- Parameters:
cost
- the cost
-
-