BrokerInfo Class Reference

parses .BrokerInfo file containing job submission parameters More...

#include <src/BrokerInfo.h>

Public Member Functions

 ~BrokerInfo (void)
std::string getBIFileName (void)
BI_Result getCE (std::string &CE)
BI_Result getDataAccessProtocol (std::vector< std::string > &DAPs)
BI_Result getLFN2SFN (std::string LFN, std::vector< std::string > &SFNs)
BI_Result getSEs (std::vector< std::string > &SEs)
BI_Result getSEProtocols (std::string SE, std::vector< std::string > &SEProtos)
BI_Result getSEPort (std::string SE, std::string SEProtocol, std::string &SEPort)
BI_Result getCloseSEs (std::vector< std::string > &SEs)
BI_Result getSEMountPoint (std::string CloseSE, std::string &SEMount)
BI_Result getSEFreeSpace (std::string CloseSE, std::string &SEFreeSpace)
BI_Result getInputData (std::vector< std::string > &LFNs)
BI_Result getVirtualOrganization (std::string &VO)
int parser (std::string &outbuffer)

Static Public Member Functions

static BrokerInfoinstance (void)

Detailed Description

parses .BrokerInfo file containing job submission parameters

Parameters:
BrokerInfoFile_ holds the fullpath of the brokerinfo file
fbrokerinfo_ handler to the brokerinfo file
mbrokerinfo_ handler to the brokerinfo memory info
instance_ it points to the current instance. this class is intended so to be instantiated only once (singleton).

Constructor & Destructor Documentation

BrokerInfo::~BrokerInfo ( void   ) 

Default Destructor.


Member Function Documentation

std::string BrokerInfo::getBIFileName ( void   ) 

the BrokerInfo file to parse.

BI_Result BrokerInfo::getCE ( std::string &  CE  ) 
Returns:
CE (Computing Element) Info.
Parameters:
CE The ResourceID of the Computing Element to be returned.
Returns:
BI_SUCCESS, or BI_ERROR if the operation failed
BI_Result BrokerInfo::getCloseSEs ( std::vector< std::string > &  SEs  ) 
Returns:
SE's protocol port number
Parameters:
SE Vector of SEs close to the given CE.
Returns:
BI_SUCCESS, or BI_ERROR if the operation failed
BI_Result BrokerInfo::getDataAccessProtocol ( std::vector< std::string > &  DAPs  ) 
Returns:
Data Access Protocol list
Parameters:
DAPs Vector of Data Access Protocols specified by the user.
Returns:
BI_SUCCESS, or BI_ERROR if the operation failed
BI_Result BrokerInfo::getInputData ( std::vector< std::string > &  LFNs  ) 
Returns:
InputData list
Parameters:
LFN/GUID/LFC vector.
Returns:
BI_SUCCESS, or BI_ERROR if the operation failed
BI_Result BrokerInfo::getLFN2SFN ( std::string  LFN,
std::vector< std::string > &  SFNs 
)
Returns:
LFN to SFN mapping
Parameters:
LFN String of LFN specified.
SFNs Vector of corresponding SFNs.
Returns:
BI_SUCCESS, or BI_ERROR if the operation failed
BI_Result BrokerInfo::getSEFreeSpace ( std::string  CloseSE,
std::string &  SEFreeSpace 
)
Returns:
SE FreeSpace for the specific CloseSE returned by the getCloseSEs method.
Parameters:
SEFreeSpace string of SE free space.
Returns:
BI_SUCCESS, or BI_ERROR if the operation failed
BI_Result BrokerInfo::getSEMountPoint ( std::string  CloseSE,
std::string &  SEMount 
)
Returns:
SE MountPoint for the specific CloseSE returned by the getCloseSEs method.
Parameters:
SEMount string of SE mount point.
Returns:
BI_SUCCESS, or BI_ERROR if the operation failed
BI_Result BrokerInfo::getSEPort ( std::string  SE,
std::string  SEProtocol,
std::string &  SEPort 
)
Returns:
SE Ports list ordered following the order of SEs returned by getSEs
Parameters:
SEPorts Vector of ports used by SEs.
Returns:
BI_SUCCESS, or BI_ERROR if the operation failed
BI_Result BrokerInfo::getSEProtocols ( std::string  SE,
std::vector< std::string > &  SEProtos 
)
Returns:
SE Protocols list ordered following the order of SEs returned by getSEs
Parameters:
SEProtcs Vector of protocols supported by SEs.
Returns:
BI_SUCCESS, or BI_ERROR if the operation failed
BI_Result BrokerInfo::getSEs ( std::vector< std::string > &  SEs  ) 
Returns:
SE (Storage Element) list
Parameters:
SEs Vector of SEs serving PFNs.
Returns:
BI_SUCCESS, or BI_ERROR if the operation failed
BI_Result BrokerInfo::getVirtualOrganization ( std::string &  VO  ) 
Returns:
Virtual Organization string
Parameters:
VO string.
Returns:
BI_SUCCESS, or BI_ERROR if the operation failed
static BrokerInfo* BrokerInfo::instance ( void   )  [static]

the handle to the instantiated object.

int BrokerInfo::parser ( std::string &  outbuffer  ) 

utilities


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

Generated on 8 Mar 2013 for glite-wms-brokerinfo-access-3.3.2 by  doxygen 1.6.1