Class to define the transaction object.

#include <messageManager.h>

Public Member Functions

 Transaction ()
 Default constructor.
 
 Transaction (std::list< Message > list)
 Constructor using list. More...
 
 Transaction (std::initializer_list< Message > list)
 Constructor using initializer list. More...
 

Public Attributes

std::string id
 Transaction id.
 
std::list< Messagemessages
 List of messages.
 
int intervalMessage =0
 Time to wait between send messages from the same transaction in milliseconds.
 

Constructor & Destructor Documentation

Transaction ( std::list< Message list)
explicit
Parameters
listlist of messages
Transaction ( std::initializer_list< Message list)
explicit
Parameters
listlist of messages initializer list