B2BITS FIX Antenna C++  2.27.1
Public Member Functions | List of all members
Engine::RejectMsgStorage Class Referenceabstract

Abstract storage of the rejected messages. More...

#include <B2BITS_MsgStorage.h>

Public Member Functions

virtual bool hasRejectedMessage ()=0
 Return true when storage contains rejected messages. More...
 
virtual bool markRejected (const std::string &msg)=0
 Mask message as rejected. More...
 
virtual void retrieveRejectedMessages (std::vector< std::string > *pMessages)=0
 Retrieves all rejected messages from storage. More...
 
virtual bool unmarkRejected (const std::string &msg, const std::string &newMsg)=0
 Unask rejected message and replace it by another one. More...
 
virtual ~RejectMsgStorage ()
 Destructor. More...
 

Detailed Description

Abstract storage of the rejected messages.

Constructor & Destructor Documentation

◆ ~RejectMsgStorage()

virtual Engine::RejectMsgStorage::~RejectMsgStorage ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ hasRejectedMessage()

virtual bool Engine::RejectMsgStorage::hasRejectedMessage ( )
pure virtual

Return true when storage contains rejected messages.

◆ markRejected()

virtual bool Engine::RejectMsgStorage::markRejected ( const std::string &  msg)
pure virtual

Mask message as rejected.

Return true when message marked successfully

Parameters
msg- rejected message

◆ retrieveRejectedMessages()

virtual void Engine::RejectMsgStorage::retrieveRejectedMessages ( std::vector< std::string > *  pMessages)
pure virtual

Retrieves all rejected messages from storage.

Parameters
pMessages- container that will contains rejected messages

◆ unmarkRejected()

virtual bool Engine::RejectMsgStorage::unmarkRejected ( const std::string &  msg,
const std::string &  newMsg 
)
pure virtual

Unask rejected message and replace it by another one.

Return true when message replaced successfully

Parameters
msg- rejected message
newMsg- message that replace rejected message