example.purse
Interface Purse
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- PurseImpl, PurseImpl_Stub
- public interface Purse
- extends java.rmi.Remote
ROLE_ANYBODY
public static final byte ROLE_ANYBODY
- See Also:
- Constant Field Values
ROLE_MERCHANT
public static final byte ROLE_MERCHANT
- See Also:
- Constant Field Values
ROLE_BANK
public static final byte ROLE_BANK
- See Also:
- Constant Field Values
ROLE_OWNER
public static final byte ROLE_OWNER
- See Also:
- Constant Field Values
getBalance
public short getBalance()
throws java.rmi.RemoteException
java.rmi.RemoteException
increaseBalance
public void increaseBalance(short amount)
throws java.rmi.RemoteException,
javacard.framework.UserException
java.rmi.RemoteException
javacard.framework.UserException
decreaseBalance
public void decreaseBalance(short amount)
throws java.rmi.RemoteException,
javacard.framework.UserException
java.rmi.RemoteException
javacard.framework.UserException
concatenate
public byte[] concatenate(short[] p1,
byte[] p2,
byte[] p3,
byte[] p4)
throws java.rmi.RemoteException
java.rmi.RemoteException