All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.payment.ecash.ecashPocketProcesses

java.lang.Object
   |
   +----semper.payment.ecash.ecashPocket
           |
           +----semper.payment.ecash.ecashPocketProcesses

public class ecashPocketProcesses
extends ecashPocket

Variable Index

 o TCP_PREFIX_MAGIC_NUMBER
Ecash magic number.

Constructor Index

 o ecashPocketProcesses()

Method Index

 o cleanup()
 o deposit(String)
 o getAccountStatus()
 o getAmount()
 o getBalance()
 o getCurrency()
 o getMintID()
 o init(PaymentEntity, String, String, String)
 o isEnabled()
 o openAccount(String, String)
 o pay(PaymentEntity, String, String)
 o receivePayment(PaymentEntity, String, String)
 o withdraw(String, Long)

Variables

 o TCP_PREFIX_MAGIC_NUMBER
 public static final int TCP_PREFIX_MAGIC_NUMBER
Ecash magic number. All messages exchanged between ecash clients and mints start with this 4-byte number.

Constructors

 o ecashPocketProcesses
 public ecashPocketProcesses()

Methods

 o init
 public void init(PaymentEntity mint,
                  String accountName,
                  String pocketDirectory,
                  String password) throws PaymentServiceException
Throws: PaymentServiceException
to be handled
Overrides:
init in class ecashPocket
 o isEnabled
 public boolean isEnabled()
Overrides:
isEnabled in class ecashPocket
 o cleanup
 public void cleanup() throws PaymentServiceException
Throws: PaymentServiceException
to be handled
Overrides:
cleanup in class ecashPocket
 o withdraw
 public void withdraw(String amount,
                      Long minimumNumberOfPayments) throws PaymentServiceException
Throws: PaymentServiceException
to be handled
Overrides:
withdraw in class ecashPocket
 o deposit
 public void deposit(String amount) throws PaymentServiceException
Throws: PaymentServiceException
to be handled
Overrides:
deposit in class ecashPocket
 o pay
 public void pay(PaymentEntity payee,
                 String amount,
                 String description) throws PaymentServiceException
Throws: PaymentServiceException
to be handled
Overrides:
pay in class ecashPocket
 o receivePayment
 public void receivePayment(PaymentEntity payer,
                            String amount,
                            String description) throws PaymentServiceException
Throws: PaymentServiceException
to be handled
Overrides:
receivePayment in class ecashPocket
 o getAccountStatus
 public boolean getAccountStatus() throws PaymentServiceException
Returns:
boolean true if status OK.
Throws: PaymentServiceException
to be handled
Overrides:
getAccountStatus in class ecashPocket
 o openAccount
 public void openAccount(String openAccountPassword,
                         String randomString) throws PaymentServiceException
Throws: PaymentServiceException
to be handled
Overrides:
openAccount in class ecashPocket
 o getCurrency
 public String getCurrency() throws PaymentServiceException
Throws: PaymentServiceException
to be handled
Overrides:
getCurrency in class ecashPocket
 o getAmount
 public String getAmount() throws PaymentServiceException
Throws: PaymentServiceException
to be handled
Overrides:
getAmount in class ecashPocket
 o getBalance
 public String getBalance() throws PaymentServiceException
Throws: PaymentServiceException
to be handled
Overrides:
getBalance in class ecashPocket
 o getMintID
 public String getMintID() throws PaymentServiceException
Throws: PaymentServiceException
to be handled
Overrides:
getMintID in class ecashPocket

All Packages  Class Hierarchy  This Package  Previous  Next  Index