Represents the status in the EntityRetriever of the query process of an Endpoint (service registry, computing element).
More...
#include <arc/compute/EndpointQueryingStatus.h>
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)
◆ EndpointQueryingStatusType
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
|
◆ EndpointQueryingStatus()
◆ getDescription()
const std::string& Arc::EndpointQueryingStatus::getDescription |
( |
| ) |
const |
|
inline |
◆ getStatus()
◆ operator bool()
Arc::EndpointQueryingStatus::operator bool |
( |
| ) |
const |
|
inline |
- Returns
- true if the status is successful
◆ operator!()
bool Arc::EndpointQueryingStatus::operator! |
( |
void |
| ) |
const |
|
inline |
- Returns
- true if the status is not successful
- Python interface deviation
- Method is unavailable in Python interface
◆ operator!=() [1/2]
Inequality.
- See also
- operator==(EndpointQueryingStatusType)
◆ operator!=() [2/2]
Inequality.
- See also
- operator==(const EndpointQueryingStatus&)
◆ operator=() [1/2]
Setting the EndpointQueryingStatus object's state
- Parameters
-
- Python interface deviation
- Method is unavailable in Python interface
◆ operator=() [2/2]
Copying the EndpointQueryingStatus object into this one.
- Parameters
-
- Python interface deviation
- Method is unavailable in Python interface
◆ operator==() [1/2]
◆ operator==() [2/2]
◆ str() [1/2]
◆ str() [2/2]
std::string Arc::EndpointQueryingStatus::str |
( |
void |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: