File
Doc
Category
Size
Date
Package
RMIProblemSetImpl.java
API Doc
Example
896
Sun Jan 11 17:35:54 GMT 1998
dcj.examples.rmi
RMIProblemSetImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
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
double
getSolution
()
return solution;
public
double
getValue
()
return value;
public void
setSolution
(
double
s)
solution = s;
public void
setValue
(
double
v)
value = v;
Java Code Source