#include <Connectivity_MDPublisher.h>
|
| NewsDataPublisher (void *dataManagerPtr) |
|
void | SetNewsData (const std::string &subKey, const std::string &newsId, const StringSet &symbolSet, int64_t updateType, const std::string &headline, const std::string &story, const double sourceTimestamp, const NewsDataList &newsDataList, const double value=MDM_DEFAULT_FLOAT) |
|
void | DeleteNewsData (const std::string &subKey, const std::string &newsId, const StringSet &symbolSet, const double sourceTimestamp, const NewsDataList &newsDataList) |
|
void | DefineNewsSchema (const std::string &subKey, const NewsDataList &newsDataList) |
|
| MarketDataPublisher (void *dataManagerPtr) |
|
void | SetExtraParam (const std::string &subKey, const std::string ¶mName, const std::string &type, const std::string &value, const std::string &description) |
|
void | SetExtraParams (const std::string &subKey, const ExtraParamList &extraParamList) |
|
void | SetExtraParamValue (const std::string &subKey, const std::string ¶mName, const std::string &value) |
|
void | SetExtraParamsValue (const std::string &subKey, const ExtraParamValueList &extraParamValueList) |
|
void | RemoveExtraParam (const std::string &subKey, const std::string ¶mName, bool permanent=false) |
|
void | RemoveExtraParams (const std::string &subKey, const StringList ¶mNames, bool permanent=false) |
|
com::softwareag::marketdata::NewsDataPublisher::NewsDataPublisher |
( |
void * |
dataManagerPtr | ) |
|
|
inline |
NewsDataPublisher constructor
- Parameters
-
dataManagerPtr | Generic void* pointer to take any stream. |
void com::softwareag::marketdata::NewsDataPublisher::DefineNewsSchema |
( |
const std::string & |
subKey, |
|
|
const NewsDataList & |
newsDataList |
|
) |
| |
Set the News Delete data to send at the next commit.
- Parameters
-
subKey | The subscription key this News Delete is for. |
newsDataList | The list of NewsData Key:Value pairs for this News Feed. The type and description in NewsData should be set. |
void com::softwareag::marketdata::NewsDataPublisher::DeleteNewsData |
( |
const std::string & |
subKey, |
|
|
const std::string & |
newsId, |
|
|
const StringSet & |
symbolSet, |
|
|
const double |
sourceTimestamp, |
|
|
const NewsDataList & |
newsDataList |
|
) |
| |
Set the News Delete data to send at the next commit.
- Parameters
-
subKey | The subscription key this News Delete is for. |
newsId | The id of this News Delete as supplied by the source feed. Can be blank. |
symbolSet | The set of symbols this News Delete is for, used for filtering by symbol. Can be empty. The library always sends on if empty. |
sourceTimestamp | The timestamp for this News Delete as supplied by the source feed. Normalised to UTC. |
newsDataList | The list of NewsData Key:Value pairs for this News Delete. The type and description in NewsData can be blank. If an unknown Key is supplied, a schema update will be sent before the News Data. |
void com::softwareag::marketdata::NewsDataPublisher::SetNewsData |
( |
const std::string & |
subKey, |
|
|
const std::string & |
newsId, |
|
|
const StringSet & |
symbolSet, |
|
|
int64_t |
updateType, |
|
|
const std::string & |
headline, |
|
|
const std::string & |
story, |
|
|
const double |
sourceTimestamp, |
|
|
const NewsDataList & |
newsDataList, |
|
|
const double |
value = MDM_DEFAULT_FLOAT |
|
) |
| |
Set the News Data to send at the next commit.
- Parameters
-
subKey | The subscription key this News Data is for. |
newsId | The id of this News Data as supplied by the source feed. Can be blank. |
symbolSet | The set of symbols this News Data is for, used for filtering by symbol. Can be empty. |
updateType | The update type (UPDATETYPE_ADD_INT, UPDATETYPE_MODIFY_INT, UPDATETYPE_REMOVE_INT from MDM_Constants.h) of this News Data. |
headline | The headline of this News Data. Can be blank. |
story | The story text of this News Data. Can be blank. |
sourceTimestamp | The timestamp for this News Data as supplied by the source feed. Normalised to UTC. |
newsDataList | The list of NewsData Key:Value pairs for this News Data. The type and description in NewsData can be blank. If an unknown Key is supplied, a schema update will be sent before the News Data. |
value | The value of this News Data. Used for economic indicators. Can be set to MDM_DEFAULT_FLOAT. |
The documentation for this class was generated from the following file: