DataStaging::TransferSharesConf Class Reference

TransferSharesConf describes the configuration of TransferShares. More...

#include <TransferShares.h>

Public Types

enum  ShareType {
  USER, VO, GROUP, ROLE,
  NONE
}

Public Member Functions

 TransferSharesConf (const std::string &type, const std::map< std::string, int > &ref_shares)
 TransferSharesConf ()
void set_share_type (const std::string &type)
void set_reference_share (const std::string &RefShare, int Priority)
void set_reference_shares (const std::map< std::string, int > &shares)
bool is_configured (const std::string &ShareToCheck)
int get_basic_priority (const std::string &ShareToCheck)
std::string conf () const
std::string extract_share_info (DTR_ptr DTRToExtract)

Detailed Description

TransferSharesConf describes the configuration of TransferShares.

It allows reference shares to be defined with certain priorities. An instance of this class is used when creating a TransferShares object.


Member Enumeration Documentation

The criterion for assigning a share to a DTR.

Enumerator:
USER 

Shares are defined per DN of the user's proxy.

VO 

Shares are defined per VOMS VO of the user's proxy.

GROUP 

Shares are defined per VOMS group of the user's proxy.

ROLE 

Shares are defined per VOMS role of the user's proxy.

NONE 

No share criterion - all DTRs will be assigned to a single share.


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 11:54:36 2012 for Hosting Environment (Daemon) by  doxygen 1.6.3