RStudio Launcher Plugin SDK
1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
|
Class which represents a Job Output Stream response for a specific job. More...
#include <Response.hpp>
Public Member Functions | |
OutputStreamResponse (uint64_t in_requestId, uint64_t in_sequenceId, std::string in_output, OutputType in_outputType) | |
Constructor. More... | |
OutputStreamResponse (uint64_t in_requestId, uint64_t in_sequenceId) | |
Constructor. Represents the last (complete notification) response of the output stream. More... | |
json::Object | toJson () const override |
Converts this output stream response to a JSON object. More... | |
Public Member Functions inherited from rstudio::launcher_plugins::api::Response | |
virtual | ~Response ()=default |
Virtual destructor to allow for inheritance. | |
Public Member Functions inherited from rstudio::launcher_plugins::Noncopyable | |
Noncopyable ()=default | |
Default constructor. | |
Noncopyable (const Noncopyable &)=delete | |
Deleted copy constructor. | |
Noncopyable & | operator= (const Noncopyable &)=delete |
Deleted assignment operator. | |
Additional Inherited Members | |
Protected Types inherited from rstudio::launcher_plugins::api::Response | |
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 } |
Protected Member Functions inherited from rstudio::launcher_plugins::api::Response | |
Response (Type in_responseType, uint64_t in_requestId) | |
Constructor. More... | |
Class which represents a Job Output Stream response for a specific job.
rstudio::launcher_plugins::api::OutputStreamResponse::OutputStreamResponse | ( | uint64_t | in_requestId, |
uint64_t | in_sequenceId, | ||
std::string | in_output, | ||
OutputType | in_outputType | ||
) |
Constructor.
in_requestId | The ID of the request for which this response is being sent. |
in_sequenceId | The ID of this output in the sequence of responses for this request. |
in_output | The output to send to the Launcher. |
in_outputType | The type of output being sent. |
rstudio::launcher_plugins::api::OutputStreamResponse::OutputStreamResponse | ( | uint64_t | in_requestId, |
uint64_t | in_sequenceId | ||
) |
Constructor. Represents the last (complete notification) response of the output stream.
in_requestId | The ID of the request for which this response is being sent. |
in_sequenceId | The ID of this output in the sequence of responses for this request. |
|
overridevirtual |
Converts this output stream response to a JSON object.
Reimplemented from rstudio::launcher_plugins::api::Response.