BrokerInfo Class Reference
parses .BrokerInfo file containing job submission parameters
More...
#include <src/BrokerInfo.h>
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 |
|
) |
|
Member Function Documentation
std::string BrokerInfo::getBIFileName |
( |
void |
|
) |
|
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:
-
- 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:
-
- 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 |
) |
|
The documentation for this class was generated from the following file: