nextHop

abstract fun nextHop(finalDestination: DemandSenderIfc?): NetworkNodeIfc?(source)

Return the next hop a demand bound for finalDestination should be forwarded to, or null if no route exists. A null return is a routing error and the caller is expected to surface it (typically by throwing).