Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package de.fu.alp5.foreign.distributed;
- import java.rmi.Remote;
- import java.rmi.RemoteException;
- /**
- * Provides methods for remote invocation.
- *
- * @author Konrad Reiche
- * @author David Bialik
- *
- */
- public interface TextAnalyzerWorker extends Remote {
- /**
- * Initializes the TextAnalyzerWorker with the number of Threads, its access
- * index and the remote host of the TextAnalyzer object in order to exchange
- * new foreign words.
- */
- void initialize(int numberOfThread, int accessIndex, String remoteHost)
- throws RemoteException;
- /**
- * Starts analyzing.
- */
- void analyze() throws RemoteException;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement