Strumenti Utente

Strumenti Sito

package astaRMI;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface InterfacciaBattitore extends Remote {
	 * used to make an offer. 
	 * @param name the name of who makes the offer
	 * @param howMuch the amount of the offer
	 * @return the current amount offered, 0 if the offer made is the currently accepted one
	 * @throws RemoteException
	public int offer(String name, int howMuch) throws RemoteException;
	 * this is used to register the callback;
	 * @param name the name of who makes the offer
	 * @param cif
	public void register(String name, ClientInterface cif) throws RemoteException; 
lpr-b-2007-2008/interfacciabattitoreasta.txt · Ultima modifica: 19/09/2008 alle 14:08 (15 anni fa) (modifica esterna)