Overte C++ Documentation
Assignment Class Reference

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
 

Detailed Description

Holds information used for request, creation, and deployment of assignments.

Constructor & Destructor Documentation

◆ Assignment()

Assignment::Assignment ( ReceivedMessage &  packet)

Constructs an Assignment from a network packet

Parameters
packetthe packet to un-pack the assignment from

Member Function Documentation

◆ commonParseSettingsObject()

void Assignment::commonParseSettingsObject ( const QJsonObject &  settingsObject)
protected

Parse the part of the settings object common to all assignment clients.

Currently this is the crash reporting settings.

Parameters
settingsObject

The documentation for this class was generated from the following files: