1 package fr.in2p3.jsaga.engine.job.monitor; 2 3 import org.ogf.saga.error.NoSuccessException; 4 import org.ogf.saga.error.TimeoutException; 5 6 /* *************************************************** 7 * *** Centre de Calcul de l'IN2P3 - Lyon (France) *** 8 * *** http://cc.in2p3.fr/ *** 9 * *************************************************** 10 * File: JobRegistry 11 * Author: Sylvain Reynaud (sreynaud@in2p3.fr) 12 * Date: 10 janv. 2008 13 * *************************************************** 14 * Description: */ 15 /** 16 * 17 */ 18 public interface JobRegistry { 19 public void subscribeJob(String nativeJobId, JobMonitorCallback callback) throws TimeoutException, NoSuccessException; 20 public void unsubscribeJob(String nativeJobId) throws TimeoutException, NoSuccessException; 21 }