ARC SDK
|
Represents the status in the EntityRetriever of the query process of an Endpoint (service registry, computing element). More...
#include <arc/compute/EndpointQueryingStatus.h>
Public Types | |
enum | EndpointQueryingStatusType { UNKNOWN, SUSPENDED_NOTREQUIRED, STARTED, FAILED, NOPLUGIN, NOINFORETURNED, SUCCESSFUL } |
Public Member Functions | |
EndpointQueryingStatus (EndpointQueryingStatusType status=UNKNOWN, const std::string &description="") | |
bool | operator== (EndpointQueryingStatusType s) const |
bool | operator== (const EndpointQueryingStatus &s) const |
bool | operator!= (EndpointQueryingStatusType s) const |
bool | operator!= (const EndpointQueryingStatus &s) const |
bool | operator! () const |
operator bool () const | |
EndpointQueryingStatus & | operator= (EndpointQueryingStatusType s) |
EndpointQueryingStatus & | operator= (const EndpointQueryingStatus &s) |
EndpointQueryingStatusType | getStatus () const |
const std::string & | getDescription () const |
std::string | str () const |
Static Public Member Functions | |
static std::string | str (EndpointQueryingStatusType status) |
Represents the status in the EntityRetriever of the query process of an Endpoint (service registry, computing element).
An object of this class is returned by the instances of the EntityRetriever (e.g. ServiceEndpointRetriever, TargetInformationRetriever, JobListRetriever) representing the state of the process of querying an Endpoint. It contains an EndpointQueryingStatusType enum (getStatus), and a description string (getDescription)
The possible states:
Enumerator | |
---|---|
UNKNOWN |
the state is unknown |
SUSPENDED_NOTREQUIRED |
Querying of the endpoint is suspended since querying it is not required. |
STARTED |
the query process was started |
FAILED |
the query process failed |
NOPLUGIN |
there is no plugin for the given Endpoint InterfaceName (so the query process was not even started) |
NOINFORETURNED |
query was successful but the response didn't contain entity information |
SUCCESSFUL |
the query process was successful |
|
inline |
A new EndpointQueryingStatus is created with UNKNOWN status and with an empty description by default
|
inline |
Return the description string contained within this EndpointQueryingStatus object
|
inline |
Return the enum EndpointQueryingStatusType contained within this EndpointQueryingStatus object
|
inline |
|
inline |
|
inline |
Inequality.
|
inline |
Inequality.
|
inline |
Setting the EndpointQueryingStatus object's state
[in] | s | the new enum EndpointQueryingStatusType status |
|
inline |
Copying the EndpointQueryingStatus object into this one.
[in] | s | the EndpointQueryingStatus object whose status and description will be copied into this object |
|
inline |
This EndpointQueryingStatus object equals to an enum EndpointQueryingStatusType if it contains the same state
|
inline |
This EndpointQueryingStatus object equals to another EndpointQueryingStatus object, if their state equals. The description doesn't matter.
|
static |
String representation of the states in the enum EndpointQueryingStatusType
|
inline |
String representation of the EndpointQueryingStatus object, which is currently simply the string representation of the enum EndpointQueryingStatusType