SmartSoft Component-Developer API
Public Member Functions | Protected Member Functions | List of all members
Smart::ICorrelationId Class Referenceabstract

This pure virtual interface can be implemented using middleware-specific features to correlate e.g. More...

#include <smartICorrelationId.h>

Inheritance diagram for Smart::ICorrelationId:
Smart::NumericCorrelationId

Public Member Functions

virtual ~ICorrelationId ()=default
 
bool operator< (const ICorrelationId &other) const
 
bool operator== (const ICorrelationId &other) const
 
virtual std::string to_string () const =0
 

Protected Member Functions

virtual bool less_than (const ICorrelationId *other) const =0
 
virtual bool equals_to (const ICorrelationId *other) const =0
 

Detailed Description

This pure virtual interface can be implemented using middleware-specific features to correlate e.g.

answers to related requests in a request-response communication (e.g. for the Query Pattern).

Constructor & Destructor Documentation

◆ ~ICorrelationId()

virtual Smart::ICorrelationId::~ICorrelationId ( )
virtualdefault

Member Function Documentation

◆ equals_to()

virtual bool Smart::ICorrelationId::equals_to ( const ICorrelationId other) const
protectedpure virtual

Implemented in Smart::NumericCorrelationId.

◆ less_than()

virtual bool Smart::ICorrelationId::less_than ( const ICorrelationId other) const
protectedpure virtual

Implemented in Smart::NumericCorrelationId.

◆ operator<()

bool Smart::ICorrelationId::operator< ( const ICorrelationId other) const
inline

◆ operator==()

bool Smart::ICorrelationId::operator== ( const ICorrelationId other) const
inline

◆ to_string()

virtual std::string Smart::ICorrelationId::to_string ( ) const
pure virtual

Implemented in Smart::NumericCorrelationId.


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