FileDocCategorySizeDatePackage
RMIProblemSetImpl.javaAPI DocExample896Sun Jan 11 17:35:54 GMT 1998dcj.examples.rmi

RMIProblemSetImpl

public class RMIProblemSetImpl extends UnicastRemoteObject implements RMIProblemSet
Source code from "Java Distributed Computing", by Jim Farley. Class: RMISolver Example: 3-13 Description: Implementation of the RMI-based ProblemSet interface.

Fields Summary
protected double
value
protected double
solution
Constructors Summary
public RMIProblemSetImpl()

    value = 0.0;
    solution = 0.0;
  
Methods Summary
public doublegetSolution()

    return solution;
  
public doublegetValue()

    return value;
  
public voidsetSolution(double s)

    solution = s;
  
public voidsetValue(double v)

    value = v;