1 package samples.bidbuy ; 2 3 import java.util.Vector ; 4 5 public interface vInterface { 6 public void register(String registryURL, Service s) throws Exception ; 7 public void unregister(String registryURL, String name) throws Exception ; 8 public Boolean ping(String serverURL) throws Exception ; 9 public Vector lookupAsString(String registryURL) throws Exception ; 10 public double requestForQuote(String serverURL) throws Exception ; 11 public String simpleBuy(String serverURL, int quantity ) throws Exception ; 12 public String buy(String serverURL, int quantity, int numItems, double price) 13 throws Exception ; 14 } 15 | Popular Tags |