RDK Documentation (Open Sourced RDK Components)
|
Class for the Drm Metadata event. More...
#include <AampEvent.h>
Public Member Functions | |
DrmMetaDataEvent (const DrmMetaDataEvent &)=delete | |
DrmMetaDataEvent & | operator= (const DrmMetaDataEvent &)=delete |
DrmMetaDataEvent (AAMPTuneFailure failure, const std::string &accessStatus, int statusValue, long responseCode, bool secclientErr) | |
DrmMetaDataEvent Constructor. | |
virtual | ~DrmMetaDataEvent () |
DrmMetaDataEvent Destructor. | |
AAMPTuneFailure | getFailure () const |
Get Failure type. More... | |
void | setFailure (AAMPTuneFailure failure) |
Set Failure type. More... | |
const std::string & | getAccessStatus () const |
Get Access Status. More... | |
void | setAccessStatus (const std::string &status) |
Set Access Status. More... | |
int | getAccessStatusValue () const |
Get Access Status. More... | |
void | setAccessStatusValue (int value) |
Set Access Status Value. More... | |
long | getResponseCode () const |
Get Response Code. More... | |
int32_t | getSecManagerReasonCode () const |
Get Response Code. More... | |
int32_t | getSecManagerClassCode () const |
Get Response Code. More... | |
int32_t | getBusinessStatus () const |
Get Response Code. More... | |
void | setResponseCode (long code) |
Set Response Code. More... | |
void | setSecManagerReasonCode (int32_t code) |
Get Secmanager response code. More... | |
bool | getSecclientError () const |
Get secclient error status. More... | |
void | setSecclientError (bool secclientError) |
Set secclient error status. More... | |
void | SetVerboseErrorCode (int32_t statusCode, int32_t reasonCode, int32_t businessStatus) |
Set the secmanager DRM error responses. | |
void | ConvertToVerboseErrorCode (int32_t httpCode, int32_t httpExtStatusCode) |
Convert the secclient DRM error code into secmanager error code to have a unified verbose error reported. | |
Public Member Functions inherited from AAMPEventObject | |
AAMPEventObject (const AAMPEventObject &)=delete | |
Copy constructor disabled. More... | |
AAMPEventObject & | operator= (const AAMPEventObject &)=delete |
assignment operator disabled More... | |
AAMPEventObject (AAMPEventType type) | |
AAMPEventObject Constructor. | |
virtual | ~AAMPEventObject () |
AAMPEvent Destructor. | |
AAMPEventType | getType () const |
Get Event Type. More... | |
Private Attributes | |
AAMPTuneFailure | mFailure |
std::string | mAccessStatus |
int | mAccessStatusValue |
long | mResponseCode |
bool | mSecclientError |
int32_t | mSecManagerClass |
int32_t | mSecManagerReasonCode |
int32_t | mBusinessStatus |
Class for the Drm Metadata event.
Definition at line 1396 of file AampEvent.h.
AAMPTuneFailure DrmMetaDataEvent::getFailure | ( | ) | const |
void DrmMetaDataEvent::setFailure | ( | AAMPTuneFailure | failure | ) |
Set Failure type.
[in] | failure | - Failure type |
Definition at line 880 of file AampEvent.cpp.
const std::string & DrmMetaDataEvent::getAccessStatus | ( | ) | const |
void DrmMetaDataEvent::setAccessStatus | ( | const std::string & | status | ) |
Set Access Status.
[in] | status | - Access status |
Definition at line 898 of file AampEvent.cpp.
int DrmMetaDataEvent::getAccessStatusValue | ( | ) | const |
void DrmMetaDataEvent::setAccessStatusValue | ( | int | value | ) |
Set Access Status Value.
[in] | value | - Access status value |
Definition at line 916 of file AampEvent.cpp.
long DrmMetaDataEvent::getResponseCode | ( | ) | const |
int32_t DrmMetaDataEvent::getSecManagerReasonCode | ( | ) | const |
int32_t DrmMetaDataEvent::getSecManagerClassCode | ( | ) | const |
int32_t DrmMetaDataEvent::getBusinessStatus | ( | ) | const |
void DrmMetaDataEvent::setResponseCode | ( | long | code | ) |
Set Response Code.
[in] | code | - Response code |
Definition at line 964 of file AampEvent.cpp.
void DrmMetaDataEvent::setSecManagerReasonCode | ( | int32_t | code | ) |
Get Secmanager response code.
Set Secmanager response code.
[string] | code - secmanager reason code |
Definition at line 972 of file AampEvent.cpp.
bool DrmMetaDataEvent::getSecclientError | ( | ) | const |
Get secclient error status.
Definition at line 1017 of file AampEvent.cpp.
void DrmMetaDataEvent::setSecclientError | ( | bool | secclientError | ) |
Set secclient error status.
[in] | sec | client error status (true/false) |
Definition at line 1025 of file AampEvent.cpp.
|
private |
Error Type
Definition at line 1398 of file AampEvent.h.
|
private |
Access status
Definition at line 1399 of file AampEvent.h.
|
private |
Access status value
Definition at line 1400 of file AampEvent.h.
|
private |
Response code
Definition at line 1401 of file AampEvent.h.
|
private |
Is secclient error
Definition at line 1402 of file AampEvent.h.
|
private |
Secmanager error class
Definition at line 1404 of file AampEvent.h.
|
private |
Secmanager reason code
Definition at line 1405 of file AampEvent.h.
|
private |
secclient business reason code
Definition at line 1406 of file AampEvent.h.