com::pcbsys::nirvana::client::nTransactionFactory Class Reference

This class is used with a nTransactionAttributes object to create a Nirvana transaction. More...

#include <nTransactionFactory.h>

Static Public Member Functions

static nTransactioncreate (nTransactionAttributes *pAttr)
 Creates an nTransaction object (Nirvana transaction) based on the nTransactionAttributes object supplied. More...
 
static nTransactioncreate (nTransactionAttributes *pAttr, longlong oldTXId)
 Creates an nTransaction object (Nirvana transaction) based on the nTransactionAttributes object supplied. More...
 
static int getPublishBufferSize ()
 Gets the size of the publish transaction buffer. More...
 
static void setPublishBufferSize (int size)
 Sets the size of the publish transaction buffer. More...
 

Detailed Description

This class is used with a nTransactionAttributes object to create a Nirvana transaction.

Member Function Documentation

static nTransaction* com::pcbsys::nirvana::client::nTransactionFactory::create ( nTransactionAttributes pAttr)
static

Creates an nTransaction object (Nirvana transaction) based on the nTransactionAttributes object supplied.

Parameters
*pAttrThe nTransactionAttributes object containing the parameters for the transaction to be created
Returns
the newly created nTransaction object
static nTransaction* com::pcbsys::nirvana::client::nTransactionFactory::create ( nTransactionAttributes pAttr,
longlong  oldTXId 
)
static

Creates an nTransaction object (Nirvana transaction) based on the nTransactionAttributes object supplied.

Parameters
*pAttrThe nTransactionAttributes object containing the parameters for the transaction to be created
oldTXIdcan be used when reconstructing a transaction object from a previously known ID
Returns
the newly created nTransaction object
static int com::pcbsys::nirvana::client::nTransactionFactory::getPublishBufferSize ( )
static

Gets the size of the publish transaction buffer.

Returns
An int specifying the size of the publish transaction buffer
static void com::pcbsys::nirvana::client::nTransactionFactory::setPublishBufferSize ( int  size)
static

Sets the size of the publish transaction buffer.

Parameters
sizeAn int specifying the size of the publish transaction buffer