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
10
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 }