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

InfoServiceRGMA.h

Go to the documentation of this file.
00001 /*
00002  *
00003  * InfoServiceRGMA.h
00004  *
00005  * Copyright (c) 2002 INFN, CERN on behalf of the EU DataGrid.
00006  * For license conditions see LICENSE file or 
00007  * http://www.edg.org/license.html
00008  * 
00009  */
00010 
00011 #ifndef EDGReplicaManager_InfoServiceRGMA_H
00012 #define EDGReplicaManager_InfoServiceRGMA_H 1
00013 
00014 #ifndef EDG_RM_NO_RGMA
00015 
00016 /*
00017  * @author <a href="mailto:Peter.Kunszt@cern.ch">Peter Kunszt</a>
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
The EU DataGrid Project. All rights reserved.