1 57 58 package inout.wsifservice; 59 60 import java.rmi.RemoteException ; 61 import java.util.Date ; 62 63 import addressbook.wsiftypes.Address; 64 import inout.wsiftypes.Mutablestring; 65 66 public interface Inout { 67 public void addEntry(String wholeName, Address address) throws RemoteException ; 68 69 public void addEntry(String firstName, String lastName, Address address) 70 throws RemoteException ; 71 72 public Address getAddressFromName(String name) throws RemoteException ; 73 74 public Address getAddressFromName(Mutablestring name) throws RemoteException ; 75 76 public boolean getAddressFromName(Mutablestring name, Address address) 77 throws RemoteException ; 78 79 public int addNumbers(int[] nums) throws RemoteException ; 80 81 public Date getDate() throws RemoteException ; 82 83 public String whoami(String s) throws RemoteException ; 84 85 public String whoami(float f) throws RemoteException ; 86 87 public String whoami(int i) throws RemoteException ; 88 89 public String whoami(Address a) throws RemoteException ; 90 } 91 | Popular Tags |