Advertisement
Guest User

Untitled

a guest
Mar 30th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. /**
  2. * Created by Nivesh Varma on 18 Mar 17.
  3. */
  4. import java.rmi.*;
  5.  
  6. public interface TellerServer extends Remote
  7. {
  8. String openNewAccount(String accountType,
  9. String customerName) throws RemoteException;
  10.  
  11. String closeOutAccount(int accountNumber,
  12. String customerName) throws RemoteException;
  13.  
  14. String processAccount(String processType,
  15. int accountNumber,
  16. double amount) throws RemoteException;
  17.  
  18. String showAccount (int accountNumber)throws RemoteException;
  19.  
  20. String showAccounts (String customerName) throws RemoteException;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement