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/interfacciabattitoreasta.txt · Ultima modifica: 07/12/2007 alle 09:56 (17 anni fa) da Marco Danelutto