|
ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
|
This contains an internal control message. More...
#include <message_queue.hpp>
Public Member Functions | |
| ControlMessage (const json &message, const bool stall_until_accepted=false) | |
Creates a new ControlMessage object from the provided message. | |
| MessageId | uniqueId () const |
| Provides the unique message ID stored in the message. More... | |
| bool | is_transaction_update_message () const |
| True for transactional messages containing updates (measurements) for a transaction. | |
| ControlMessage (const json &message, const bool stall_until_accepted) | |
| bool | is_transaction_update_message () const |
| bool | is_transaction_update_message () const |
| ControlMessage (const json &message, const bool stall_until_accepted) | |
Public Attributes | |
| json::array_t | message |
| The OCPP message as a json array. | |
| M | messageType |
| The OCPP message type. | |
| int32_t | message_attempts |
| The number of times this message has been rejected by the central system. | |
| std::promise< EnhancedMessage< M > > | promise |
| A promise used by the async send interface. | |
| DateTime | timestamp |
| A timestamp that shows when this message can be sent. | |
| MessageId | initial_unique_id |
| bool | stall_until_accepted |
This contains an internal control message.
|
inline |
Provides the unique message ID stored in the message.