cscie160.project.atm
Class ATMFactoryImpl

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--cscie160.project.atm.ATMFactoryImpl
All Implemented Interfaces:
ATMFactory, java.rmi.Remote, java.io.Serializable

public class ATMFactoryImpl
extends java.rmi.server.UnicastRemoteObject
implements ATMFactory

By David Cheung

CSCIE160 project

DUE: 05-16-2001

ATMFactoryImpl:

This class implements the ATMFactory interfaces and creates an ATM_I class and exports it via getATM() function.

Has not been changed since hw5.

See Also:
Serialized Form

Field Summary
 ATMImpl ATM_I
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Method Summary
 ATM getATM()
          getATM:
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ATM_I

public ATMImpl ATM_I
Method Detail

getATM

public ATM getATM()
           throws java.rmi.RemoteException
getATM:

Returns an ATM class for client side.

Specified by:
getATM in interface ATMFactory