import java.util.*; import horb.orb.*; public class Owner { OwnerS server; Vector adressV; Vector addressV; ChatWindow window; public String MyAddress; public Owner(String name,String port) { HORBServer hs = new HORBServer(new Integer(port)); OwnerS own = new OwnerS(); HORBServer.registerObject("OwnerS",own,name); own.setClient(this); this.adressV = new Vector(); this.addressV = new Vector(); MyAddress = "horb://localhost:"+port+"/"+name; } public boolean haveAddress(String add) { if(MyAddress.compareTo(add) == 0) { return true; } for(int i= 0;i