Package jadex.bridge.service.component
Interface IExternalRequiredServicesFeature
-
- All Superinterfaces:
IExternalComponentFeature
- All Known Subinterfaces:
IBDIAgent
,IExternalAccess
,IInternalAccess
,IRequiredServicesFeature
- All Known Implementing Classes:
RequiredServicesComponentFeature
,RequiredServicesFeatureAdapter
public interface IExternalRequiredServicesFeature extends IExternalComponentFeature
External perspective of the required services feature.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> ISubscriptionIntermediateFuture<T>
addQuery(ServiceQuery<T> query)
Add a service query.<T> IFuture<T>
searchService(ServiceQuery<T> query)
Search for matching services and provide first result.<T> ITerminableIntermediateFuture<T>
searchServices(ServiceQuery<T> query)
Search for all matching services.
-
-
-
Method Detail
-
searchService
<T> IFuture<T> searchService(ServiceQuery<T> query)
Search for matching services and provide first result.- Parameters:
query
- The search query.- Returns:
- Future providing the corresponding service or ServiceNotFoundException when not found.
-
searchServices
<T> ITerminableIntermediateFuture<T> searchServices(ServiceQuery<T> query)
Search for all matching services.- Parameters:
query
- The search query.- Returns:
- Each service as an intermediate result or a collection of services as final result.
-
addQuery
<T> ISubscriptionIntermediateFuture<T> addQuery(ServiceQuery<T> query)
Add a service query. Continuously searches for matching services. Use query setEventMode to retrieve also removals.- Parameters:
query
- The search query.- Returns:
- Future providing the corresponding services as intermediate results.
-
-