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

EdgReplicaManager::ReplicaManager Class Reference

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

Inheritance diagram for EdgReplicaManager::ReplicaManager:

EdgReplicaManager::ReplicaManagerImpl List of all members.

Public Types

typedef std::vector< std::string > LFNList_t
typedef std::vector< std::string > SFNList_t
typedef std::vector< std::string > LRCList_t
typedef std::vector< std::string > CEList_t
typedef std::vector< std::string > SEList_t
typedef std::vector< std::string > Protocols_t
typedef std::vector< EdgReplicaOptimization::AccessCost > AccessCosts_t

Public Methods

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

virtual void listReplicas (std::string fileID, SFNList_t &sfns)=0 throw ( ReplicaManagerException, EdgReplicaLocationService::NoSuchGuidException, EdgReplicaLocationService::NoSuchPfnException, EdgReplicaMetadataCatalog::NoSuchAliasException, EdgReplicaMetadataCatalog::CommunicationException, EdgReplicaLocationService::CommunicationException )
 get list of replicas. More...

virtual void getAccessCost (LFNList_t LFNList, CEList_t CEList, Protocols_t protocols, AccessCosts_t &accessCost)=0 throw ( ReplicaManagerException, EdgReplicaOptimization::ReplicationException, EdgReplicaLocationService::NoSuchGuidException, EdgReplicaLocationService::NoSuchPfnException , EdgReplicaMetadataCatalog::NoSuchAliasException, EdgReplicaMetadataCatalog::CommunicationException, EdgReplicaLocationService::CommunicationException)
 get access cost. More...

virtual std::string listBestFile (std::string file, std::string seHost)=0 throw ( ReplicaManagerException, EdgReplicaOptimization::ReplicationException, EdgReplicaLocationService::NoSuchGuidException, EdgReplicaLocationService::NoSuchPfnException , EdgReplicaMetadataCatalog::NoSuchAliasException, EdgReplicaMetadataCatalog::CommunicationException, EdgReplicaLocationService::CommunicationException )
virtual void setSecure ()=0
 set the secure flag. all services will be tried to be contacted in secure mode. More...


Detailed Description

A simple interface to the EDG Replica Manager.


Member Typedef Documentation

typedef std::vector<std::string> LFNList_t
 

typedef std::vector<std::string> SFNList_t
 

typedef std::vector<std::string> LRCList_t
 

typedef std::vector<std::string> CEList_t
 

typedef std::vector<std::string> SEList_t
 

typedef std::vector<std::string> Protocols_t
 

typedef std::vector<EdgReplicaOptimization::AccessCost> AccessCosts_t
 


Constructor & Destructor Documentation

virtual ~ReplicaManager   [virtual]
 

Standard virtual destructor.


Member Function Documentation

virtual void listReplicas std::string    fileID,
SFNList_t   sfns
throw ( ReplicaManagerException, EdgReplicaLocationService::NoSuchGuidException, EdgReplicaLocationService::NoSuchPfnException, EdgReplicaMetadataCatalog::NoSuchAliasException, EdgReplicaMetadataCatalog::CommunicationException, EdgReplicaLocationService::CommunicationException ) [pure virtual]
 

get list of replicas.

Implemented in EdgReplicaManager::ReplicaManagerImpl.

virtual void getAccessCost LFNList_t    LFNList,
CEList_t    CEList,
Protocols_t    protocols,
AccessCosts_t   accessCost
throw ( ReplicaManagerException, EdgReplicaOptimization::ReplicationException, EdgReplicaLocationService::NoSuchGuidException, EdgReplicaLocationService::NoSuchPfnException , EdgReplicaMetadataCatalog::NoSuchAliasException, EdgReplicaMetadataCatalog::CommunicationException, EdgReplicaLocationService::CommunicationException) [pure virtual]
 

get access cost.

Implemented in EdgReplicaManager::ReplicaManagerImpl.

virtual std::string listBestFile std::string    file,
std::string    seHost
throw ( ReplicaManagerException, EdgReplicaOptimization::ReplicationException, EdgReplicaLocationService::NoSuchGuidException, EdgReplicaLocationService::NoSuchPfnException , EdgReplicaMetadataCatalog::NoSuchAliasException, EdgReplicaMetadataCatalog::CommunicationException, EdgReplicaLocationService::CommunicationException ) [pure virtual]
 

Implemented in EdgReplicaManager::ReplicaManagerImpl.

virtual void setSecure   [pure virtual]
 

set the secure flag. all services will be tried to be contacted in secure mode.

Implemented in EdgReplicaManager::ReplicaManagerImpl.

The EU DataGrid Project. All rights reserved.