View Javadoc

1   package fr.in2p3.jsaga.impl.resource.task;
2   
3   import org.ogf.saga.error.IncorrectStateException;
4   import org.ogf.saga.error.NoSuccessException;
5   import org.ogf.saga.error.NotImplementedException;
6   import org.ogf.saga.error.TimeoutException;
7   
8   /* ***************************************************
9    * *** Centre de Calcul de l'IN2P3 - Lyon (France) ***
10   * ***             http://cc.in2p3.fr/             ***
11   * ***************************************************/
12  public interface StateListener {
13      public void startListening(String nativeResourceId, ResourceMonitorCallback callback) throws NotImplementedException, IncorrectStateException, TimeoutException, NoSuccessException;
14      public void stopListening(String nativeResourceId) throws NotImplementedException, TimeoutException, NoSuccessException;
15  }