client-cpp  0.10.0
kaa::TransactionId Class Reference

#include <TransactionId.hpp>

Public Member Functions

 TransactionId ()
 
 TransactionId (const TransactionId &trxId)
 
 TransactionId (const std::string &id)
 
const std::string & getId ()
 

Detailed Description

Class representing unique transaction id for transactions initiated using kaa::ITransactable.

See Also
kaa::ITransactable
kaa::AbstractTransactable
kaa::IEventManager

Definition at line 34 of file TransactionId.hpp.

Constructor & Destructor Documentation

kaa::TransactionId::TransactionId ( )
inline

Default constructor

Generates random id object.

Definition at line 41 of file TransactionId.hpp.

kaa::TransactionId::TransactionId ( const TransactionId trxId)
inline

Copy constructor

Copies TransactionId object.

Definition at line 48 of file TransactionId.hpp.

kaa::TransactionId::TransactionId ( const std::string &  id)
inline

Constructs object from string value.

Definition at line 53 of file TransactionId.hpp.

Member Function Documentation

const std::string& kaa::TransactionId::getId ( )
inline

Get string id representation.

Definition at line 60 of file TransactionId.hpp.


The documentation for this class was generated from the following file: