Interface DiscoveryClient<R>
- Type Parameters:
R- the type of query results
- All Known Implementing Classes:
DelegateClient
public interface DiscoveryClient<R>
Local interface for resource discovery.
Submits Querys for remote execution and returns a list of typed results.
- Author:
- Fabio Simeoni
-
Method Summary
-
Method Details
-
submit
Submits aQueryfor remote execution and returns a list of typed results.- Parameters:
query- the query- Returns:
- the results
- Throws:
DiscoveryException- if the query cannot be submittedInvalidResultException- if the results cannot be parsed. Implementations may adopt different degrees of tolerance to parsing errors before raising this exception.
-