B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Engine::RejectMsgStorage Class Referenceabstract

Abstract storage of the rejected messages. More...

#include <B2BITS_MsgStorage.h>

+ Inheritance diagram for Engine::RejectMsgStorage:

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 ()
 

Detailed Description

Abstract storage of the rejected messages.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Return true when storage contains rejected messages.

Implemented in Engine::B2B_SEALED< FileT >.

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

Implemented in Engine::B2B_SEALED< FileT >.

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

Implemented in Engine::B2B_SEALED< FileT >.

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

Implemented in Engine::B2B_SEALED< FileT >.