com.sun.javacard.samples.RMIDemo
Interface Purse
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- Purse_Stub
public interface Purse
- extends java.rmi.Remote
UNDERFLOW
static final short UNDERFLOW
- See Also:
- Constant Field Values
OVERFLOW
static final short OVERFLOW
- See Also:
- Constant Field Values
BAD_ARGUMENT
static final short BAD_ARGUMENT
- See Also:
- Constant Field Values
MAX_AMOUNT
static final short MAX_AMOUNT
- See Also:
- Constant Field Values
getBalance
short getBalance()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
debit
void debit(short m)
throws java.rmi.RemoteException,
javacard.framework.UserException
- Throws:
java.rmi.RemoteException
javacard.framework.UserException
credit
void credit(short m)
throws java.rmi.RemoteException,
javacard.framework.UserException
- Throws:
java.rmi.RemoteException
javacard.framework.UserException
setAccountNumber
void setAccountNumber(byte[] number)
throws java.rmi.RemoteException,
javacard.framework.UserException
- Throws:
java.rmi.RemoteException
javacard.framework.UserException
getAccountNumber
byte[] getAccountNumber()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException