01: package samples.bidbuy;
02:
03: import java.util.Vector;
04:
05: public interface vInterface {
06: public void register(String registryURL, Service s)
07: throws Exception;
08:
09: public void unregister(String registryURL, String name)
10: throws Exception;
11:
12: public Boolean ping(String serverURL) throws Exception;
13:
14: public Vector lookupAsString(String registryURL) throws Exception;
15:
16: public double requestForQuote(String serverURL) throws Exception;
17:
18: public String simpleBuy(String serverURL, int quantity)
19: throws Exception;
20:
21: public String buy(String serverURL, int quantity, int numItems,
22: double price) throws Exception;
23: }
|