Payment Manager
GMessage* | PayManager::AnswerFromEso (GMessage *inMsg) Reacts to an answer from Eso |
GMessage* | PayManager::CreateCommonMsg (Err succ, Char *reason, ID *payId) Create Common Message |
Err | PayManager::CreatePayments () Create Payments Table |
Err | PayManager::DeleteRecsInTable (Table *t, Char *whichId, ID id) Deletes all records in the table |
Record* | PayManager::FindInTable (Table *t, Char *whichId, ID id) Finds record in the table |
GMessage* | PayManager::MoneyFromClient (GMessage *inMsg) Reacts to message from client |
PayManager::PayManager (LogFile *logFile, Bank *bank) PayManager constructor | |
GMessage* | PayManager::RequestFromEso (GMessage *inMsg) Reacts to a request for payment from Eso |
Long | PayManager::StorePayments (Table *fromClient, ACID myACID) Stores Payments |
PayManager::~PayManager () PayManager destructor |
methods
|
attributes
| |||||
methods
|
Payment Manager. A class which manages everything about payments in Bank: 1) stores payment plan sent by client (and transfer money) 2) reacts to eso's request for payment - if everything is OK transfer money to it's account
reason - value of reason field
payId - value of paymentId field
whichId - specifies ID, that is used for deleting
id - a value of the ID
whichId - specifies ID, that is used for searching
id - a value of the ID
bank - pointer to main class bank
myACID - ID of bank's ac, which used for encrypting sAuth
alphabetic index hierarchy of classes
generated by doc++