~ubuntu-branches/ubuntu/oneiric/weka/oneiric

« back to all changes in this revision

Viewing changes to weka/experiment/RemoteEngine.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner, Soeren Sonnenburg, Torsten Werner
  • Date: 2008-08-10 21:27:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080810212705-tr8etpnkdx2ziktp
Tags: 3.5.8-1
[ Soeren Sonnenburg ]
* Bump Standards Version to 3.8.0.
* Remove references to non-free Java in debian/copyright.

[ Torsten Werner ]
* new upstream release
* Switch to openjdk-6.
* Move package to main.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
package weka.experiment;
25
25
 
26
26
import weka.core.Queue;
 
27
import weka.core.RevisionHandler;
 
28
import weka.core.RevisionUtils;
27
29
 
28
30
import java.net.InetAddress;
29
31
import java.net.URL;
39
41
 * A general purpose server for executing Task objects sent via RMI.
40
42
 *
41
43
 * @author Mark Hall (mhall@cs.waikato.ac.nz)
42
 
 * @version $Revision: 1.9 $
 
44
 * @version $Revision: 1.10 $
43
45
 */
44
46
public class RemoteEngine
45
47
  extends UnicastRemoteObject
46
 
  implements Compute {
 
48
  implements Compute, RevisionHandler {
47
49
 
48
50
  /** for serialization */
49
51
  private static final long serialVersionUID = -1021538162895448259L;
272
274
      purgeClasses();
273
275
    }
274
276
  }
 
277
  
 
278
  /**
 
279
   * Returns the revision string.
 
280
   * 
 
281
   * @return            the revision
 
282
   */
 
283
  public String getRevision() {
 
284
    return RevisionUtils.extract("$Revision: 1.10 $");
 
285
  }
275
286
 
276
287
  /**
277
288
   * Main method. Gets address of the local host, creates a remote engine