com.sun.javacard.samples.RMIDemo
Class Purse_Stub
java.lang.Object
javax.microedition.jcrmi.RemoteStub
com.sun.javacard.samples.RMIDemo.Purse_Stub
- All Implemented Interfaces:
- Purse, java.rmi.Remote
public final class Purse_Stub
- extends javax.microedition.jcrmi.RemoteStub
- implements Purse, java.rmi.Remote
Fields inherited from class javax.microedition.jcrmi.RemoteStub |
ref |
Methods inherited from class javax.microedition.jcrmi.RemoteStub |
equals, hashCode, setRef |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Purse_Stub
public Purse_Stub()
getAccountNumber
public byte[] getAccountNumber()
throws java.rmi.RemoteException
- Specified by:
getAccountNumber
in interface Purse
- Throws:
java.rmi.RemoteException
setAccountNumber
public void setAccountNumber(byte[] param1)
throws java.rmi.RemoteException,
javacard.framework.UserException
- Specified by:
setAccountNumber
in interface Purse
- Throws:
java.rmi.RemoteException
javacard.framework.UserException
credit
public void credit(short param1)
throws java.rmi.RemoteException,
javacard.framework.UserException
- Specified by:
credit
in interface Purse
- Throws:
java.rmi.RemoteException
javacard.framework.UserException
debit
public void debit(short param1)
throws java.rmi.RemoteException,
javacard.framework.UserException
- Specified by:
debit
in interface Purse
- Throws:
java.rmi.RemoteException
javacard.framework.UserException
getBalance
public short getBalance()
throws java.rmi.RemoteException
- Specified by:
getBalance
in interface Purse
- Throws:
java.rmi.RemoteException