|
| ||||||||||||||||
A firewall transaction is a sequence of commands that should executed atomically.
| FirewallTransactionManager (EventLoop& eventloop)
| FirewallTransactionManager |
Constructor.
Parameters:
| eventloop | the event loop to use. |
See also: FirewallManager.
| const string& error ()
| error |
[const]
Get the string with the first error during commit.
Returns: the string with the first error during commit or an empty string if no error.
| void pre_commit (uint32_t tid)
| pre_commit |
[protected virtual]
Pre-commit method that is called before the first operation in a commit.
This is an overriding method.
Parameters:
| tid | the transaction ID. |
Reimplemented from TransactionManager.
| void operation_result (bool success,
const TransactionOperation& op)
| operation_result |
[protected virtual]
Method that is called after each operation.
This is an overriding method.
Parameters:
| success | set to true if the operation succeeded, otherwise false. |
| op | the operation that has been just called. |
Reimplemented from TransactionManager.