ARC SDK
|
Represents the endpoint of service with a given type and GLUE2 InterfaceName. More...
#include <arc/UserConfig.h>
Public Types | |
enum | Type { REGISTRY, COMPUTINGINFO, ANY } |
Types of ComputingEndpoint objects. More... | |
Public Member Functions | |
ConfigEndpoint (const std::string &URLString="", const std::string &InterfaceName="", ConfigEndpoint::Type type=ConfigEndpoint::ANY) | |
Creates a ConfigEndpoint from a URL an InterfaceName and a Type. More... | |
operator bool () const | |
Return true if the URL is not empty. More... | |
bool | operator! () const |
Returns true if the URL is empty. More... | |
bool | operator== (ConfigEndpoint c) const |
Returns true if the type, the URLString, the InterfaceName and the RequestedSubmissionInterfaceName matches. More... | |
Data Fields | |
Type | type |
The type of the ConfigEndpoint: REGISTRY or COMPUTINGINFO. More... | |
std::string | URLString |
A string representing the URL of the ConfigEndpoint. More... | |
std::string | InterfaceName |
A string representing the interface type (based on the InterfaceName attribute of the GLUE2 specification). More... | |
std::string | RequestedSubmissionInterfaceName |
A GLUE2 InterfaceName requesting a job submission interface. More... | |
Represents the endpoint of service with a given type and GLUE2 InterfaceName.
A ConfigEndpoint can be a service registry or a local information system of a computing element. It has a URL, and optionally GLUE2 InterfaceName and a RequestedSubmissionInterfaceName, which will be used to filter the possible job submission interfaces on a computing element.
|
inline |
Creates a ConfigEndpoint from a URL an InterfaceName and a Type.
[in] | URLString | is a string containing the URL of the ConfigEndpoint |
[in] | InterfaceName | is a string containing the type of the interface based on the InterfaceName attribute in the GLUE2 specification |
[in] | type | is either ConfigEndpoint::REGISTRY or ConfigEndpoint::COMPUTINGINFO |
|
inline |
Return true if the URL is not empty.
|
inline |
Returns true if the URL is empty.
|
inline |
Returns true if the type, the URLString, the InterfaceName and the RequestedSubmissionInterfaceName matches.
std::string Arc::ConfigEndpoint::InterfaceName |
A string representing the interface type (based on the InterfaceName attribute of the GLUE2 specification).
std::string Arc::ConfigEndpoint::RequestedSubmissionInterfaceName |
A GLUE2 InterfaceName requesting a job submission interface.
This will be used when collecting information about the computing element. Only those job submission interfaces will be considered which has this requested InterfaceName.
Type Arc::ConfigEndpoint::type |
The type of the ConfigEndpoint: REGISTRY or COMPUTINGINFO.
std::string Arc::ConfigEndpoint::URLString |
A string representing the URL of the ConfigEndpoint.