Represents the response to an incoming request. More...
#include <Ice/Ice.h>
Public Member Functions | |
OutgoingResponse (const OutgoingResponse &)=delete | |
OutgoingResponse (OutgoingResponse &&other) noexcept=default | |
Move constructor. | |
OutgoingResponse (OutputStream outputStream, const Current ¤t) noexcept | |
Constructs an OutgoingResponse object with ReplyStatus::Ok. | |
OutgoingResponse (ReplyStatus replyStatus, std::string exceptionId, std::string exceptionDetails, OutputStream outputStream, const Current ¤t) noexcept | |
Constructs an OutgoingResponse object. | |
const Current & | current () const noexcept |
Gets the Current object of this response. | |
const std::string & | exceptionDetails () const noexcept |
Gets the full details of the exception marshaled into the response. | |
const std::string & | exceptionId () const noexcept |
Gets the exception ID of the response. | |
OutgoingResponse & | operator= (const OutgoingResponse &)=delete |
OutgoingResponse & | operator= (OutgoingResponse &&other) noexcept=default |
Move assignment operator. | |
OutputStream & | outputStream () noexcept |
Gets the output stream buffer of the response. | |
ReplyStatus | replyStatus () const noexcept |
Gets the reply status of the response. | |
std::int32_t | size () const noexcept |
Gets the number of bytes in the response. |
Represents the response to an incoming request.
It's the argument to the sendResponse callback accepted by Object::dispatch.
Definition at line 21 of file OutgoingResponse.h.