C++ IP API
9.5.8
TCP & UDP for virtual user scripts
|
The base class of Response classes. More...
Public Methods | |
BaseResponse () | |
Default constructor. More... | |
BaseResponse (const string &error) | |
Constructor, not called directly. More... | |
BaseResponse (const Exception &error) | |
Constructor, not called directly. More... | |
BaseResponse (const BaseResponse &orig) | |
Copy Constructor. More... | |
int | code () const |
The numeric value of any error . More... | |
const string & | error () const |
| |
bool | isError () const |
Has there been an error? More... | |
BaseResponse & | operator= (const BaseResponse &other) |
Assignment operator for this class. More... | |
The base class of Response classes.
Response objects are returned from methods that read from the underlying network. All derived Response classes represent errors in the same way. Response objects can be copied.
Facilita::BaseResponse::BaseResponse | ( | ) |
Default constructor.
Facilita::BaseResponse::BaseResponse | ( | const string & | error | ) |
Constructor, not called directly.
Facilita::BaseResponse::BaseResponse | ( | const Exception & | error | ) |
Constructor, not called directly.
Facilita::BaseResponse::BaseResponse | ( | const BaseResponse & | orig | ) |
Copy Constructor.
int Facilita::BaseResponse::code | ( | ) | const |
The numeric value of any error .
If an exception is caught by the method returning this object an Exception code is assigned to the code property.
const string& Facilita::BaseResponse::error | ( | ) | const |
bool Facilita::BaseResponse::isError | ( | ) | const |
Has there been an error?
BaseResponse& Facilita::BaseResponse::operator= | ( | const BaseResponse & | other | ) |
Assignment operator for this class.