Interface IRoutingService

  • All Known Implementing Classes:
    RelayTransportAgent

    public interface IRoutingService
    Service used to find routes for relay transports.
    • 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).