1 #ifndef __ARC_ENDPOINT_H__ 2 #define __ARC_ENDPOINT_H__ 10 #include <arc/compute/EndpointQueryingStatus.h> 15 class ExecutionTarget;
17 class EndpointQueryingStatus;
18 class ComputingEndpointAttributes;
38 class EndpointStatusMap :
public std::map<Endpoint, EndpointQueryingStatus, EndpointCompareFn> {
114 const std::set<std::string>&
Capability = std::set<std::string>(),
187 std::string
str()
const;
268 #endif // __ARC_ENDPOINT_H__ Arc namespace contains all core ARC classes.
Definition: ArcConfig.h:11
std::string HealthStateInfo
GLUE2 HealthStateInfo
Definition: Endpoint.h:236
std::string ServiceID
ID of service this Endpoint belongs to.
Definition: Endpoint.h:253
std::string URLString
The string representation of the URL of the Endpoint.
Definition: Endpoint.h:230
Represents the status in the EntityRetriever of the query process of an Endpoint (service registry...
Definition: EndpointQueryingStatus.h:19
EndpointStatusMap()
Creates a std::map with the key comparison object set to Endpoint::ServiceIDCompare.
bool(* EndpointCompareFn)(const Endpoint &, const Endpoint &)
Key comparison object definition for Endpoint objects.
Definition: Endpoint.h:26
static std::pair< EndpointStatusMap::const_iterator, EndpointStatusMap::const_iterator > getServiceEndpoints(const Endpoint &, const EndpointStatusMap &)
Get bounds in EndpointStatusMap corresponding to Endpoint.
Endpoint & operator=(const ConfigEndpoint &e)
Set from a ConfigEndpoint object.
Represents the endpoint of service with a given type and GLUE2 InterfaceName.
Definition: UserConfig.h:36
std::string HealthState
GLUE2 HealthState
Definition: Endpoint.h:234
Endpoint(const std::string &URLString="", const std::set< std::string > &Capability=std::set< std::string >(), const std::string &InterfaceName="")
Create a new Endpoint with a list of capability strings.
Definition: Endpoint.h:113
Interface of a computing element where jobs can be managed.
Definition: Endpoint.h:86
Local information system of a computing element capable of returning the list of jobs on the resource...
Definition: Endpoint.h:77
Represents an endpoint of a service with a given interface type and capabilities. ...
Definition: Endpoint.h:68
CapabilityEnum
Values for classifying capabilities of services.
Definition: Endpoint.h:71
std::set< std::string > Capability
Set of GLUE2 Capability strings.
Definition: Endpoint.h:240
static std::string GetStringForCapability(Endpoint::CapabilityEnum cap)
Get string representation of CapabilityEnum.
Definition: Endpoint.h:96
bool operator<(const Endpoint &other) const
Key comparison method.
EndpointStatusMap(const EndpointStatusMap &m)
Copy constructor.
Definition: Endpoint.h:45
bool HasCapability(Endpoint::CapabilityEnum cap) const
Check for capability.
std::string QualityLevel
GLUE2 QualityLevel
Definition: Endpoint.h:238
Endpoint(const ConfigEndpoint &endpoint)
Create a new Endpoint from a ConfigEndpoint.
Definition: Endpoint.h:158
std::string str() const
Get string representation of this object.
ExecutionTarget.
Definition: ExecutionTarget.h:494
Interface of a computing element where jobs can be created.
Definition: Endpoint.h:84
std::string RequestedSubmissionInterfaceName
A GLUE2 InterfaceName requesting an InterfaceName used for job submission.
Definition: Endpoint.h:248
std::string getServiceName() const
Get name of service from URLString attribute.
EndpointStatusMap(EndpointCompareFn fn)
Creates a std::map using fn as key comparison object.
Definition: Endpoint.h:43
Definition: ExecutionTarget.h:321
Interface of a computing element where jobs can be submitted.
Definition: Endpoint.h:79
static bool ServiceIDCompare(const Endpoint &a, const Endpoint &b)
Key comparison function for comparing Endpoint objects.
Status map for Endpoint objects.
Definition: Endpoint.h:38
Endpoint(const std::string &URLString, const Endpoint::CapabilityEnum cap, const std::string &InterfaceName="")
Create a new Endpoint with a single capability specified by the CapabilityEnum.
Definition: Endpoint.h:124
Unspecified capability.
Definition: Endpoint.h:88
std::string InterfaceName
The type of the interface (GLUE2 InterfaceName)
Definition: Endpoint.h:232
Service registry capable of returning endpoints.
Definition: Endpoint.h:73
Local information system of a computing element capable of returning information about the resource...
Definition: Endpoint.h:75