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. 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...
 

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

Member Function Documentation

Arc::ConfigEndpoint::operator bool ( ) const
inline

Return true if the URL is not empty.

bool Arc::ConfigEndpoint::operator! ( void  ) const
inline

Returns true if the URL is empty.

Python interface deviation
Method is unavailable in Python interface
Java interface deviation
Method is unavailable in Java interface
bool Arc::ConfigEndpoint::operator== ( ConfigEndpoint  c) const
inline

Returns true if the type, the URLString, the InterfaceName and the RequestedSubmissionInterfaceName matches.

Field Documentation

std::string Arc::ConfigEndpoint::InterfaceName

A string representing the interface type (based on the InterfaceName attribute of the GLUE2 specification).

Java interface deviation
The member is only accessible through the getInterfaceName and setInterfaceName methods in the Java interface
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.

Java interface deviation
The member is only accessible through the getRequestedSubmissionInterfaceName and setRequestedSubmissionInterfaceName methods in the Java interface
Type Arc::ConfigEndpoint::type

The type of the ConfigEndpoint: REGISTRY or COMPUTINGINFO.

Java interface deviation
The member is only accessible through the gettype and settype methods in the Java interface
std::string Arc::ConfigEndpoint::URLString

A string representing the URL of the ConfigEndpoint.

Java interface deviation
The member is only accessible through the getURLString and setURLString methods in the Java interface

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