ARC SDK
Public Types | Public Member Functions | Data Fields
Arc::ConfigEndpoint Class Reference

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.
 
bool operator! () const
 Returns true if the URL is empty.
 
bool operator== (ConfigEndpoint c) const
 Returns true if the type, the URLString, the InterfaceName and the RequestedSubmissionInterfaceName matches.
 

Data Fields

Type type
 The type of the ConfigEndpoint: REGISTRY or COMPUTINGINFO.
 
std::string URLString
 A string representing the URL of the ConfigEndpoint.
 
std::string InterfaceName
 A string representing the interface type (based on the InterfaceName attribute of the GLUE2 specification).
 
std::string RequestedSubmissionInterfaceName
 A GLUE2 InterfaceName requesting a job submission interface. More...
 

Detailed Description

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.

Member Enumeration Documentation

Types of ComputingEndpoint objects.

Enumerator
REGISTRY 

a service registry

COMPUTINGINFO 

a local information system of a computing element

ANY 

both, only used for filtering, when both types are accepted

Constructor & Destructor Documentation

Arc::ConfigEndpoint::ConfigEndpoint ( const std::string &  URLString = "",
const std::string &  InterfaceName = "",
ConfigEndpoint::Type  type = ConfigEndpoint::ANY 
)
inline

Creates a ConfigEndpoint from a URL an InterfaceName and a Type.

Parameters
[in]URLStringis a string containing the URL of the ConfigEndpoint
[in]InterfaceNameis a string containing the type of the interface based on the InterfaceName attribute in the GLUE2 specification
[in]typeis either ConfigEndpoint::REGISTRY or ConfigEndpoint::COMPUTINGINFO

Field Documentation

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.


The documentation for this class was generated from the following file: