31 lines
859 B
Java
31 lines
859 B
Java
package linda.server;
|
|
|
|
import linda.Linda;
|
|
import linda.Tuple;
|
|
import linda.Callback;
|
|
|
|
import java.util.Collection;
|
|
|
|
import java.rmi.*;
|
|
|
|
public interface LindaRemote extends Remote {
|
|
|
|
public void write(Tuple t) throws RemoteException;
|
|
|
|
public Tuple take(Tuple template) throws RemoteException;
|
|
|
|
public Tuple read(Tuple template) throws RemoteException;
|
|
|
|
public Tuple tryTake(Tuple template) throws RemoteException;
|
|
|
|
public Tuple tryRead(Tuple template) throws RemoteException;
|
|
|
|
public Collection<Tuple> takeAll(Tuple template) throws RemoteException;
|
|
|
|
public Collection<Tuple> readAll(Tuple template) throws RemoteException;
|
|
|
|
public void eventRegister(Linda.eventMode mode, Linda.eventTiming timing, Tuple template, Callback callback) throws RemoteException;
|
|
|
|
public void debug(String prefix) throws RemoteException;
|
|
}
|