Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | Static Private Attributes
Arc::TargetRetrieverBES Class Reference

#include <TargetRetrieverBES.h>

Inheritance diagram for Arc::TargetRetrieverBES:
Inheritance graph
Collaboration diagram for Arc::TargetRetrieverBES:
Collaboration graph

List of all members.

Public Member Functions

 ~TargetRetrieverBES ()
void GetTargets (TargetGenerator &mom, int targetType, int detailLevel)
 Method for collecting targets.

Static Public Member Functions

static PluginInstance (PluginArgument *arg)

Protected Attributes

const std::string flavour
const UserConfigusercfg
const URL url
const ServiceType serviceType

Private Member Functions

 TargetRetrieverBES (const UserConfig &usercfg, const URL &url, ServiceType st)

Static Private Attributes

static Logger logger

Detailed Description

Definition at line 12 of file TargetRetrieverBES.h.

Constructor & Destructor Documentation

Arc::TargetRetrieverBES::TargetRetrieverBES ( const UserConfig usercfg,
const URL url,
ServiceType  st 
) [private]

Definition at line 31 of file TargetRetrieverBES.cpp.

    : TargetRetriever(usercfg, url, st, "BES") {}

Here is the caller graph for this function:

Definition at line 35 of file TargetRetrieverBES.cpp.


Member Function Documentation

void Arc::TargetRetrieverBES::GetTargets ( TargetGenerator mom,
int  targetType,
int  detailLevel 
) [virtual]

Method for collecting targets.

Pure virtual method for collecting targets. Implementation depends on the Grid middleware in question and is thus left to the specialized class.

momis the reference to the TargetGenerator which has loaded the TargetRetriever
targetTypeis the identificaion of targets to find (0=ExecutionTargets, 1=Grid Jobs)
detailLevelis the required level of details (1 = All details, 2 = Limited details)

Implements Arc::TargetRetriever.

Definition at line 45 of file TargetRetrieverBES.cpp.


    logger.msg(VERBOSE, "TargetRetriverBES initialized with %s service url: %s",
               serviceType, url.str());

    switch (serviceType) {
    case COMPUTING:
      if (mom.AddService(url)) {
        ExecutionTarget target;
        target.GridFlavour = flavour;
        target.Cluster = url;
        target.url = url;
        target.InterfaceName = flavour;
        target.Implementor = "NorduGrid";
        target.DomainName = url.Host();
        target.HealthState = "ok";
    case INDEX:

Here is the call graph for this function:

Definition at line 37 of file TargetRetrieverBES.cpp.

    TargetRetrieverPluginArgument *trarg =
    if (!trarg)
      return NULL;
    return new TargetRetrieverBES(*trarg, *trarg, *trarg);

Here is the call graph for this function:

Member Data Documentation

const std::string Arc::TargetRetriever::flavour [protected, inherited]

Definition at line 64 of file TargetRetriever.h.

Reimplemented from Arc::TargetRetriever.

Definition at line 24 of file TargetRetrieverBES.h.

const ServiceType Arc::TargetRetriever::serviceType [protected, inherited]

Definition at line 67 of file TargetRetriever.h.

const URL Arc::TargetRetriever::url [protected, inherited]

Definition at line 66 of file TargetRetriever.h.

const UserConfig& Arc::TargetRetriever::usercfg [protected, inherited]

Definition at line 65 of file TargetRetriever.h.

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