001package headfirst.proxy.gumball; 002 003import java.rmi.Remote; 004import java.rmi.RemoteException; 005 006public interface GumballMachineRemote extends Remote { 007 public int getCount() throws RemoteException; 008 public String getLocation() throws RemoteException; 009 public State getState() throws RemoteException; 010}