KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > samples > bidbuy > vInterface


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