class FirewallTransactionManager

A class to store and execute firewall transactions. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods


Detailed Description

A firewall transaction is a sequence of commands that should executed atomically.

 FirewallTransactionManager (EventLoop& eventloop)

FirewallTransactionManager

Constructor.

Parameters:

eventloopthe 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:

tidthe 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:

successset to true if the operation succeeded, otherwise false.
opthe operation that has been just called.

Reimplemented from TransactionManager.


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:50 2008, using kdoc 2.0a54+XORP.