CosGuarantee encapsulates guarantee member of the ClassOfService class.
More...
CosGuarantee contains options related to the guarantee of content submitted over the tunnel stream.
- See also
- ClassOfService
Definition at line 348 of file TunnelStreamRequest.h.
◆ CosGuaranteeType
An enumeration representing guarantee type.
Enumerator |
---|
NoneEnum | Indicates no guarantee
|
PersistentQueueEnum | Indicates persistent queue
|
Definition at line 355 of file TunnelStreamRequest.h.
◆ CosGuarantee() [1/2]
refinitiv::ema::access::CosGuarantee::CosGuarantee |
( |
| ) |
|
◆ CosGuarantee() [2/2]
refinitiv::ema::access::CosGuarantee::CosGuarantee |
( |
const CosGuarantee & |
other | ) |
|
Copy constructor
- Parameters
-
◆ ~CosGuarantee()
virtual refinitiv::ema::access::CosGuarantee::~CosGuarantee |
( |
| ) |
|
|
virtual |
◆ clear()
CosGuarantee& refinitiv::ema::access::CosGuarantee::clear |
( |
| ) |
|
Clears object by setting defaults
- Returns
- reference to this object
◆ getPersistenceFilePath()
const EmaString& refinitiv::ema::access::CosGuarantee::getPersistenceFilePath |
( |
| ) |
const |
Returns file path where files containing persistent messages may be stored
- Returns
- file path where files containing persistent messages are stored
◆ getPersistLocally()
bool refinitiv::ema::access::CosGuarantee::getPersistLocally |
( |
| ) |
const |
Returns if messages should be persisted locally
- Returns
- if messages should be persisted locally
◆ getType()
Returns guarantee type
- Returns
- guarantee type
◆ operator=()
Assignment operator
- Parameters
-
- Returns
- reference to this object
◆ persistenceFilePath()
Specifies where files containing persistent messages are stored
- Parameters
-
[in] | filePath | specifies path to store files containing persistent messages |
- Returns
- reference to this object
◆ persistLocally()
CosGuarantee& refinitiv::ema::access::CosGuarantee::persistLocally |
( |
bool |
persistLocally = true | ) |
|
Specifies if messages are persisted locally
- Parameters
-
[in] | persistLocally | specifies if messages need to be persisted locally |
- Returns
- reference to this object
◆ type()
Specifies guarantee type
- Parameters
-
- Returns
- reference to this object
- Exceptions
-