Interface ITransportAddressService


  • public interface ITransportAddressService
    Service for translating platform names to communication addresses and address book management.
    • Method Detail

      • getAddresses

        IFuture<java.util.List<TransportAddress>> getAddresses()
        Gets the addresses of the local platform.
        Returns:
        Addresses of the local platform.
      • getAddresses

        IFuture<java.util.List<TransportAddress>> getAddresses​(java.lang.String transporttype)
        Gets the addresses of the local platform.
        Parameters:
        transporttype - The transport type.
        Returns:
        Addresses of the local platform.
      • getAddresses

        IFuture<java.util.List<TransportAddress>> getAddresses​(IComponentIdentifier platformid)
        Gets the addresses of another platform known to the local platform.
        Parameters:
        platformid - ID of the platform.
        Returns:
        Addresses of the platform, if known.
      • getAddresses

        IFuture<java.util.List<TransportAddress>> getAddresses​(IComponentIdentifier platformid,
                                                               java.lang.String transporttype)
        Gets the addresses of another platform known to the local platform.
        Parameters:
        platformid - ID of the platform.
        transporttype - The transport type.
        Returns:
        Addresses of the platform, if known.
      • resolveAddresses

        IFuture<java.util.List<TransportAddress>> resolveAddresses​(IComponentIdentifier platformid,
                                                                   java.lang.String transporttype)
        Resolves the addresses of a platform for a specific transport type using multiple methods.
        Parameters:
        platformid - ID of the platform.
        transporttype - The transport type.
        Returns:
        Addresses of the local platform.
      • addLocalAddresses

        IFuture<java.lang.Void> addLocalAddresses​(java.util.Collection<TransportAddress> addresses)
        Adds the addresses of the local platform.
        Parameters:
        addresses - Local platform addresses.
        Returns:
        Null, when done.
      • addManualAddresses

        IFuture<java.lang.Void> addManualAddresses​(java.util.Collection<TransportAddress> addresses)
        Adds the addresses of the local platform.
        Parameters:
        addresses - Local platform addresses.
        Returns:
        Null, when done.