00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef EDGReplicaManager_InfoServiceRGMA_H
00012 #define EDGReplicaManager_InfoServiceRGMA_H 1
00013
00014 #ifndef EDG_RM_NO_RGMA
00015
00016
00017
00018
00019
00020 #include "EdgReplicaManager/InfoService.h"
00021
00022 namespace EdgReplicaManager {
00023
00025 class InfoServiceRGMA : public InfoService {
00026 public:
00027
00031 InfoServiceRGMA(const std::string& vo, bool secure, const std::string& timeout );
00032
00035 ~InfoServiceRGMA() {}
00036
00038 const std::vector<std::string>& getServiceURIs(const std::string &serviceType,
00039 const std::string &domain)
00040 throw(InfoServiceException);
00041
00043 std::string getCloseSE(const std::string& ceID) throw ( InfoServiceException );
00044
00045 private:
00046
00047 const std::vector<std::string>& query(const std::string& selectst) throw ( InfoServiceException );
00048
00049 double m_timeout;
00050 std::vector<std::string> m_buffer;
00051
00052 };
00053
00054 };
00055
00056 #endif
00057 #endif