Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

EdgReplicaManager::InfoService Class Reference

A simple interface to the EDG Replica Manager. More...

Inheritance diagram for EdgReplicaManager::InfoService:

EdgReplicaManager::InfoServiceMDS EdgReplicaManager::InfoServiceRGMA EdgReplicaManager::InfoServiceStub List of all members.

Public Methods

 InfoService (const std::string &vo, bool secure)
 Constructor. More...

virtual ~InfoService ()
 Standard virtual destructor. More...

std::string getLocalReplicaCatalogLocation (const std::string &domain) throw (InfoServiceException)
 return the single LRC instance for the system. More...

std::string getMetadataCatalogLocation (const std::string &domain) throw (InfoServiceException)
 return the single RMC instance for the system. More...

std::string getReplicaOptimizationLocation (const std::string &domain) throw (InfoServiceException)
 return the single ROS instance for the system. More...

std::string getServiceURI (const std::string &serviceType, const std::string &domain) throw (InfoServiceException)
 get service. More...

virtual std::string getCloseSE (const std::string &ceID)=0 throw ( InfoServiceException )
 get close SE based on a CE id. More...

bool isSecure ()

Protected Methods

virtual const std::vector<
std::string > & 
getServiceURIs (const std::string &serviceType, const std::string &domain)=0 throw (InfoServiceException)
bool isLRC (const std::string &type)
bool isRMC (const std::string &type)
bool isROS (const std::string &type)

Protected Attributes

std::string m_lrcURI
std::string m_rmcURI
std::string m_rosURI
std::string m_vo
bool m_secure

Detailed Description

A simple interface to the EDG Replica Manager.


Constructor & Destructor Documentation

InfoService const std::string &    vo,
bool    secure
 

Constructor.

virtual ~InfoService   [virtual]
 

Standard virtual destructor.


Member Function Documentation

std::string getLocalReplicaCatalogLocation const std::string &    domain throw (InfoServiceException)
 

return the single LRC instance for the system.

std::string getMetadataCatalogLocation const std::string &    domain throw (InfoServiceException)
 

return the single RMC instance for the system.

std::string getReplicaOptimizationLocation const std::string &    domain throw (InfoServiceException)
 

return the single ROS instance for the system.

std::string getServiceURI const std::string &    serviceType,
const std::string &    domain
throw (InfoServiceException)
 

get service.

virtual std::string getCloseSE const std::string &    ceID throw ( InfoServiceException ) [pure virtual]
 

get close SE based on a CE id.

Implemented in EdgReplicaManager::InfoServiceMDS.

bool isSecure  
 

virtual const std::vector<std::string>& getServiceURIs const std::string &    serviceType,
const std::string &    domain
throw (InfoServiceException) [protected, pure virtual]
 

Implemented in EdgReplicaManager::InfoServiceMDS.

bool isLRC const std::string &    type [protected]
 

bool isRMC const std::string &    type [protected]
 

bool isROS const std::string &    type [protected]
 


Member Data Documentation

std::string m_lrcURI [protected]
 

std::string m_rmcURI [protected]
 

std::string m_rosURI [protected]
 

std::string m_vo [protected]
 

bool m_secure [protected]
 

The EU DataGrid Project. All rights reserved.