00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef EDGReplicaManager_InfoServiceStub_H
00012 #define EDGReplicaManager_InfoServiceStub_H 1
00013
00014
00015
00016
00017
00018 #include "EdgReplicaManager/InfoService.h"
00019 #include "EdgReplicaManager/Configuration.h"
00020
00021 namespace EdgReplicaManager {
00022
00024 class InfoServiceStub : public InfoService {
00025 public:
00026
00030 InfoServiceStub(const std::string &vo, bool secure, const std::string &file ) throw ( ReplicaManagerException );
00031
00034 ~InfoServiceStub();
00035
00037 const std::vector<std::string>& getServiceURIs(const std::string &serviceType,
00038 const std::string &domain)
00039 throw(InfoServiceException) ;
00040
00042 std::string getCloseSE(const std::string& ceID) throw ( InfoServiceException ) ;
00043
00044 private:
00045 std::string replaceColon(const std::string& s);
00046
00047 std::string m_file;
00048 std::vector<std::string> m_buffer;
00049 Configuration* m_stub;
00050
00051 };
00052
00053 };
00054
00055 #endif