package client;

/****
 *
 * Class ClientData defines client-specific data.  It implements the
 * ClientDataInterface to make the data available to the remote server.  In
 * this simple RMI example, the client data consist of just a single integer.
 * While data this simple need not be defined in a class of its own, the point
 * of defining this class is to illustrate how more complicated client data can
 * be handled via RMI.
 *
 */
public class ClientData implements ClientDataInterface {

    /**
     * Construct this with the given numeric value.
     */
    public ClientData(int value) {
	this.value = value;
    }

    /**
     * Provide access to this' data value.
     */
    public int getValue() {
	return value;
    }

    /** Data value */
    protected int value;

}