RStudio Launcher Plugin SDK
1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
|
Class which represents the result of a control job operation. More...
#include <Response.hpp>
Public Member Functions | |
ControlJobResponse (uint64_t in_requestId, std::string in_statusMessage, bool in_isComplete) | |
Constructor. More... | |
json::Object | toJson () const override |
Converts this control job response to a JSON object. More... | |
![]() | |
virtual | ~Response ()=default |
Virtual destructor to allow for inheritance. | |
![]() | |
Noncopyable ()=default | |
Default constructor. | |
Noncopyable (const Noncopyable &)=delete | |
Deleted copy constructor. | |
Noncopyable & | operator= (const Noncopyable &)=delete |
Deleted assignment operator. | |
Additional Inherited Members | |
![]() | |
enum | Type { Type::ERROR = -1, Type::HEARTBEAT = 0, Type::BOOTSTRAP = 1, Type::JOB_STATE = 2, Type::JOB_STATUS = 3, Type::CONTROL_JOB = 4, Type::JOB_OUTPUT = 5, Type::JOB_RESOURCE_UTIL = 6, Type::JOB_NETWORK = 7, Type::CLUSTER_INFO = 8 } |
![]() | |
Response (Type in_responseType, uint64_t in_requestId) | |
Constructor. More... | |
Class which represents the result of a control job operation.
rstudio::launcher_plugins::api::ControlJobResponse::ControlJobResponse | ( | uint64_t | in_requestId, |
std::string | in_statusMessage, | ||
bool | in_isComplete | ||
) |
Constructor.
in_requestId | The ID of the request for which this response is being sent. |
in_statusMessage | A message describing the status of the control job operation that was requested. |
in_isComplete | Whether the request control job operation has completed (true) or not (false). |
|
overridevirtual |
Converts this control job response to a JSON object.
Reimplemented from rstudio::launcher_plugins::api::Response.