#include <scheduler.h>
Public Types | |
enum | Status { PublishNew , PublishUpdate , Obsolete , RequestNew , RequestUpdate , Unknown } |
Public Member Functions | |
ScheduleMessage (IncidenceBase *, int method, Status status) | |
IncidenceBase * | event () |
int | method () |
Status | status () |
TQString | error () |
Static Public Member Functions | |
static TQString | statusName (Status status) |
Detailed Description
This class provides an encapsulation of a scheduling message.
It associates an incidence with a method and status information. This class is used by the Scheduler class.
A Scheduling message
Definition at line 44 of file scheduler.h.
Member Enumeration Documentation
◆ Status
Message status.
Definition at line 50 of file scheduler.h.
Constructor & Destructor Documentation
◆ ScheduleMessage()
ScheduleMessage::ScheduleMessage | ( | IncidenceBase * | incidence, |
int | method, | ||
ScheduleMessage::Status | status | ||
) |
Create a scheduling message with method as defined in Scheduler::Method and a status.
Definition at line 42 of file scheduler.cpp.
Member Function Documentation
◆ error()
|
inline |
Return error message if there is any.
Definition at line 75 of file scheduler.h.
◆ event()
|
inline |
Return event associated with this message.
Definition at line 63 of file scheduler.h.
◆ method()
|
inline |
Return iTIP method associated with this message.
Definition at line 67 of file scheduler.h.
◆ status()
|
inline |
Return status of this message.
Definition at line 71 of file scheduler.h.
◆ statusName()
|
static |
Return a human-readable name for an iTIP message status.
Definition at line 49 of file scheduler.cpp.
The documentation for this class was generated from the following files: