Interface IRoutingService
-
- All Known Implementing Classes:
RelayTransportAgent
public interface IRoutingService
Service used to find routes for relay transports.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IIntermediateFuture<java.lang.Integer>
discoverRoute(IComponentIdentifier destination, java.util.LinkedHashSet<IComponentIdentifier> hops)
Attempts to find a route to a destination.
-
-
-
Method Detail
-
discoverRoute
IIntermediateFuture<java.lang.Integer> discoverRoute(IComponentIdentifier destination, java.util.LinkedHashSet<IComponentIdentifier> hops)
Attempts to find a route to a destination.- Parameters:
destination
- The destination.hops
- Previous hops.- Returns:
- Route cost when routing via this route (multiple returns with different costs possible).
-
-