#include <outboxjobkeys.h>
Inheritance diagram for HBCI::OutboxJobKeys:
Protected Methods | |
OutboxJobKeys (const API *api, Pointer< Customer > c, bool sk) | |
~OutboxJobKeys () | |
virtual bool | createHBCIJobs (Pointer< MessageQueue > mbox, int n=0) |
virtual bool | evaluate () |
virtual bool | commit (int msgNumber=HBCI_COMMIT_WHOLE_JOB) |
string | description () const |
virtual bool | isDialogJob () const |
virtual int | messages () const |
list< int > | resultCodes () const |
Protected Attributes | |
const API * | _hbciapi |
Pointer< Job > | _initjob |
Pointer< Job > | _exitjob |
|
|
|
|
|
Call this method to commit changes to the system. Since Jobs do not change the system you may call this method to commit the changes. A job for getting the balance for example may decide to store the retrieved balance in the corresponding account.
Implements HBCI::OutboxJob. Reimplemented in HBCI::OutboxJobDisableKeys, and HBCI::OutboxJobChangeKeys. |
|
Let the job create the "real" jobs and add them to the message queue given.
Implements HBCI::OutboxJob. Reimplemented in HBCI::OutboxJobDisableKeys, HBCI::OutboxJobDisableLostKeys, and HBCI::OutboxJobChangeKeys. |
|
Return a short description of what the job is supposed to do.
Implements HBCI::OutboxJob. Reimplemented in HBCI::OutboxJobGetKeys, HBCI::OutboxJobSendKeys, HBCI::OutboxJobDisableKeys, and HBCI::OutboxJobChangeKeys. |
|
Let the job check the result and set the flags. Let the job check the result. This means checking the results of all Jobs involved (which otherwise is not done automatically). This method sets its status and result accordingly -- otherwise the status and result flags might not be up-to-date.
Implements HBCI::OutboxJob. |
|
Return true if this OutboxJob is a dialog job. A dialog job is one that handles the opening and closing of a dialog itself. Such are OutboxJobGetKeys, OutboxJobSendKeys etc.
Reimplemented from HBCI::OutboxJob. |
|
Returns the number of messages this job needs. This method is used to calculate the return value of OutboxJob::stillMessagesToSend, and it is used by API::_handleJobQueue to determine the number of actions that are going to be started. If this is a dialog job, then it consists of at least two messages:
Reimplemented from HBCI::OutboxJob. Reimplemented in HBCI::OutboxJobDisableKeys, HBCI::OutboxJobDisableLostKeys, and HBCI::OutboxJobChangeKeys. |
|
Returns a list of result codes of this job. This can be used to get more detailed information if the result of this job was HBCI_JOB_RESULT_FAILED. In that case, you can traverse this list, checking for resultcodes >= 9000. Each of those can be the source of the job failure, so you can react accordingly. HBCI spec suggests that the most important of them can be found at the front() already, but that depends on your bank. Note: A resultcode >= 9000 does not automatically mean an error, see MessageQueue::getResult().
Implements HBCI::OutboxJob. |
|
|
|
|
|
|