AgentImplpublic class AgentImpl extends Object implements Serializable, RemoteThis is the "real" agent, which gets run remotely by the server.
Since it is created on the Client but exported by the Server, it
MUST be "Remote" but NOT "UnicastRemoteObject". |
Fields Summary |
---|
private double | thresh |
Methods Summary |
---|
public double | getThreshold()
return thresh;
| public void | setThreshold(double d)
System.out.println("Client asked agent to set Threshold to " + d);
thresh = d;
|
|