Holds information used for request, creation, and deployment of assignments. More...
#include <Assignment.h>
Inherits QObject.
Inherited by ThreadedAssignment.
Public Member Functions | |
Assignment (ReceivedMessage &packet) | |
Protected Member Functions | |
void | commonParseSettingsObject (const QJsonObject &settingsObject) |
Parse the part of the settings object common to all assignment clients. More... | |
Protected Attributes | |
Assignment::Command | _command |
the 16 byte UUID for this assignment | |
Assignment::Type | _type |
the command for this assignment (Create, Deploy, Request) | |
QString | _pool |
the type of the assignment, defines what the assignee will do | |
Assignment::Location | _location |
the destination pool for this assignment | |
QByteArray | _payload |
the location of the assignment, allows a domain to preferentially use local ACs | |
bool | _isStatic |
an optional payload attached to this assignment, a maximum for 1024 bytes will be packed | |
QString | _nodeVersion |
defines if this assignment needs to be re-queued in the domain-server if it stops being fulfilled | |
Holds information used for request, creation, and deployment of assignments.
Assignment::Assignment | ( | ReceivedMessage & | packet | ) |
Constructs an Assignment from a network packet
packet | the packet to un-pack the assignment from |
|
protected |
Parse the part of the settings object common to all assignment clients.
Currently this is the crash reporting settings.
settingsObject |