FileDocCategorySizeDatePackage
AgentImpl.javaAPI DocExample561Sun Jun 22 18:58:24 BST 2003agents

AgentImpl

public class AgentImpl extends Object implements Serializable, Remote
This 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
Constructors Summary
Methods Summary
public doublegetThreshold()

		return thresh;
	
public voidsetThreshold(double d)

	
	      
		System.out.println("Client asked agent to set Threshold to " + d);
		thresh = d;