Interface IRemoteRegistryService

  • All Known Subinterfaces:
    ISuperpeerService

    public interface IRemoteRegistryService
    Service access to a remote registry. Plain mode does not support queries. Instead each client is expected to periodically search remotely to handle its queries. For remote queries use the extended ISuperpeerService, if available.
    • Field Detail

      • REMOTE_REGISTRY_NAME

        static final java.lang.String REMOTE_REGISTRY_NAME
        Name of the remote registry component and service.
        See Also:
        Constant Field Values
    • Method Detail

      • searchService

        IFuture<IServiceIdentifier> searchService​(ServiceQuery<?> query)
        Search remote registry for a single service.
        Parameters:
        query - The search query.
        Returns:
        The first matching service or null if not found.
      • searchServices

        IFuture<java.util.Set<IServiceIdentifier>> searchServices​(ServiceQuery<?> query)
        Search remote registry for services.
        Parameters:
        query - The search query.
        Returns:
        The matching services or empty set if none are found.