Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 22nd, 2010  |  syntax: Java  |  size: 0.64 KB  |  views: 185  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }