Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

SecondaryProducer.h

00001 /*
00002  *  Copyright (c) 2004 on behalf of the EU EGEE Project:
00003  *  The European Organization for Nuclear Research (CERN),
00004  *  Istituto Nazionale di Fisica Nucleare (INFN), Italy
00005  *  Datamat Spa, Italy
00006  *  Centre National de la Recherche Scientifique (CNRS), France
00007  *  CS Systeme d'Information (CSSI), France
00008  *  Royal Institute of Technology, Center for Parallel Computers (KTH-PDC), Sweden
00009  *  Universiteit van Amsterdam (UvA), Netherlands
00010  *  University of Helsinki (UH.HIP), Finland
00011  *  University of Bergen (UiB), Norway
00012  *  Council for the Central Laboratory of the Research Councils (CCLRC), United Kingdom
00013  */
00014 #ifndef SECONDARYPRODUCER_H
00015 #define SECONDARYPRODUCER_H
00016 #include "rgma/TimeInterval.h"
00017 #include "rgma/RemoteException.h"
00018 #include "rgma/UnknownResourceException.h"
00019 #include "rgma/RGMAException.h"
00020 #include "rgma/ResourceImpl.h"
00021 #include "rgma/TupleStoreList.h"
00022 #include <string>
00023 
00024 namespace glite
00025 {
00026     namespace rgma
00027     {
00032         class SecondaryProducer: public ResourceImpl
00033         {
00034             private:
00035 
00036             protected:
00037             public:
00038 
00039                 virtual ~SecondaryProducer(){}
00052                 virtual TimeInterval getHistoryRetentionPeriod(std::string tableName)
00053                     throw(RemoteException, RGMAException, UnknownResourceException) = 0;
00071                 virtual void declareTable(std::string tableName, std::string predicate,
00072                     TimeInterval historyRetentionPeriod) throw(RemoteException, RGMAException, UnknownResourceException) = 0;
00080                 static std::string getVersion()throw(RemoteException);
00081 
00093                 static std::string getProperty(std::string name, std::string parameter)
00094                     throw(RemoteException, RGMAException);
00105                 static std::string getProperty(std::string name)
00106                     throw(RemoteException, RGMAException);
00117                 static void setProperty(std::string name, std::string value, std::string parameter)
00118                     throw(RemoteException, RGMAException);
00119 
00129                 static void setProperty(std::string name, std::string value)
00130                     throw(RemoteException, RGMAException);
00140                 static TupleStoreList listTupleStores() throw( RemoteException, RGMAException);
00141 
00151                 static void dropTupleStore(std::string logicalName) throw (RGMAException, RemoteException);
00152 
00153         };
00154     }
00155 }
00156 #endif                                            // SECONDARYPRODUCER_H

Generated on Wed May 17 17:48:18 2006 for glite-rgma-api-cpp by doxygen 1.3.5