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 Summary
Fields Modifier and Type Field Description static java.lang.String
REMOTE_REGISTRY_NAME
Name of the remote registry component and service.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description jadex.commons.future.IFuture<IServiceIdentifier>
searchService(ServiceQuery<?> query)
Search remote registry for a single service.jadex.commons.future.IFuture<java.util.Set<IServiceIdentifier>>
searchServices(ServiceQuery<?> query)
Search remote registry for services.
-
-
-
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
jadex.commons.future.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
jadex.commons.future.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.
-
-