Classes Files

Wombat::MamaSymbolMap

More…

#include <MamaSymbolMap.h>

Inherited by Wombat::MamaSymbolMapFile

Public Functions

  Name
virtual ~MamaSymbolMap(void )
virtual bool map(char * result, const char * symbol, size_t maxLen) const =0
virtual bool revMap(char * result, const char * symbol, size_t maxLen) const =0

Detailed Description

class Wombat::MamaSymbolMap;

The MamaSymbolMap class provides the ability for MAMA to do client side symbology mapping. Subclasses of this class can provide custom symbology mapping. A MamaSymbolMap can be assigned to each MamaTransport.

Public Functions Documentation

function ~MamaSymbolMap

inline virtual ~MamaSymbolMap(
    void 
)

function map

virtual bool map(
    char * result,
    const char * symbol,
    size_t maxLen
) const =0

Reimplemented by: Wombat::MamaSymbolMapFile::map

Map a symbol.

The result is the feed side symbol used to actually subscribe to in the infrastructure. The return value indicates whether or not a symbology mapping existed for the given symbol (True = yes, False = No).

function revMap

virtual bool revMap(
    char * result,
    const char * symbol,
    size_t maxLen
) const =0

Reimplemented by: Wombat::MamaSymbolMapFile::revMap

Map a feed side symbol. This is reverse of the natural mapping schema and the result in this case is the corresponding client side symbol. The return value indicates whether or not a symbology mapping existed for the given symbol (True = yes, False = No).


Updated on 2023-03-31 at 15:29:26 +0100