com.licel.jcardsim.samples.SecureRMIDemo
Class SecurePurseImpl
java.lang.Object
javacard.framework.service.CardRemoteObject
com.licel.jcardsim.samples.SecureRMIDemo.SecurePurseImpl
- All Implemented Interfaces:
- Purse, Remote
public class SecurePurseImpl
- extends CardRemoteObject
- implements Purse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurePurseImpl
public SecurePurseImpl(SecurityService security)
debit
public void debit(short m)
throws RemoteException,
UserException
- Specified by:
debit
in interface Purse
- Throws:
RemoteException
UserException
credit
public void credit(short m)
throws RemoteException,
UserException
- Specified by:
credit
in interface Purse
- Throws:
RemoteException
UserException
getBalance
public short getBalance()
throws RemoteException,
UserException
- Specified by:
getBalance
in interface Purse
- Throws:
RemoteException
UserException
setAccountNumber
public void setAccountNumber(byte[] number)
throws RemoteException,
UserException
- Specified by:
setAccountNumber
in interface Purse
- Throws:
RemoteException
UserException
getAccountNumber
public byte[] getAccountNumber()
throws RemoteException,
UserException
- Specified by:
getAccountNumber
in interface Purse
- Throws:
RemoteException
UserException