dxFeed Graal CXX API v9.0.0
Loading...
Searching...
No Matches
PromiseContext Struct Reference

The raw description of the request that created a promise of DXFeed. More...

#include <PromiseContext.hpp>

Public Attributes

std::string method {}
 The name of the DXFeed method, for example getLastEventPromise.
std::string eventType {}
 The name of the event type, for example Quote.
std::string symbol {}
 The symbol of the request.
std::optional< std::string > source {}
 The source of the request (indexed events only).
std::optional< std::int64_t > fromTime {}
 The beginning of the time range (time series only).
std::optional< std::int64_t > toTime {}
 The end of the time range (time series only).
std::weak_ptr< const DXEndpoint > endpoint {}
 The endpoint that created the feed of the promise. It is weak: the description does not keep the endpoint alive.

Detailed Description

The raw description of the request that created a promise of DXFeed.

The text is built lazily, when the wait of the promise times out: see describePromiseTimeout().