org.fosstrak.epcis.queryclient
Interface QueryCallbackInterface

All Known Implementing Classes:
QueryCallbackClient

public interface QueryCallbackInterface

Author:
Marco Steybe

Method Summary
 void callbackImplementationException(ImplementationException e)
          Performs a callback for a standing query when the query threw a ImplementationException.
 void callbackQueryTooLargeException(QueryTooLargeException e)
          Performs a callback for a standing query when the query threw a QueryTooLargeException.
 void callbackResults(QueryResults resultData)
          Performs a callback for a standing query.
 

Method Detail

callbackResults

void callbackResults(QueryResults resultData)
Performs a callback for a standing query. When the callback returns, the given QueryResults object will be populated with a result of a standing query.

Parameters:
resultData - The QueryResults object to be populated.

callbackQueryTooLargeException

void callbackQueryTooLargeException(QueryTooLargeException e)
Performs a callback for a standing query when the query threw a QueryTooLargeException. When the callback returns, the given QueryTooLargeException object will be populated with the corresponding exception.

Parameters:
e - The QueryTooLargeException to be populated

callbackImplementationException

void callbackImplementationException(ImplementationException e)
Performs a callback for a standing query when the query threw a ImplementationException. When the callback returns, the given ImplementationException object will be populated with the corresponding exception.

Parameters:
e - The ImplementationException to be populated


Copyright © 2010. All Rights Reserved.