Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2010
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.64 KB | None | 0 0
  1. package de.fu.alp5.foreign.distributed;
  2.  
  3. import java.rmi.Remote;
  4. import java.rmi.RemoteException;
  5.  
  6. /**
  7.  * Provides methods for remote invocation.
  8.  *
  9.  * @author Konrad Reiche
  10.  * @author David Bialik
  11.  *
  12.  */
  13. public interface TextAnalyzerWorker extends Remote {
  14.  
  15.     /**
  16.      * Initializes the TextAnalyzerWorker with the number of Threads, its access
  17.      * index and the remote host of the TextAnalyzer object in order to exchange
  18.      * new foreign words.
  19.      */
  20.     void initialize(int numberOfThread, int accessIndex, String remoteHost)
  21.             throws RemoteException;
  22.  
  23.     /**
  24.      * Starts analyzing.
  25.      */
  26.     void analyze() throws RemoteException;
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement