eu.xtreemos.xosd.srdsaccess.jobDirectory
Interface IJobDirectoryListener


public interface IJobDirectoryListener

The interface for resource discovery query completion listener. The listener provides the means for the resource discovery engine to send the results back to the caller service. The listener provides a pair of methods for each query type: the success notification and the failure notification. The success method receives the outcome of the discovery query. The failure method, on the other hand, receives the exception caught or provided when the discovery query fails. The class implementing the listener should also have the means to store the connection between the call and the notification (e.g. Context), usually as a class embedded within a service class.

Author:
matej.artac@xlab.si