00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef ONDEMANDPRODUCER_H
00015 #define ONDEMANDPRODUCER_H
00016
00017 #include "rgma/ResourceImpl.h"
00018 #include "rgma/RemoteException.h"
00019 #include "rgma/UnknownResourceException.h"
00020 #include "rgma/RGMAException.h"
00021 #include <string>
00022
00023 namespace glite
00024 {
00025 namespace rgma
00026 {
00031 class OnDemandProducer: public ResourceImpl
00032 {
00033 public:
00034
00035 virtual ~OnDemandProducer(){}
00052 virtual void declareStaticTable(std::string tableName, std::string predicate)
00053 throw(RemoteException, RGMAException, UnknownResourceException) = 0;
00061 static std::string getVersion()throw(RemoteException);
00062
00074 static std::string getProperty(std::string name, std::string parameter)
00075 throw(RemoteException, RGMAException);
00086 static std::string getProperty(std::string name)
00087 throw(RemoteException, RGMAException);
00098 static void setProperty(std::string name, std::string value, std::string parameter)
00099 throw(RemoteException, RGMAException);
00100
00110 static void setProperty(std::string name, std::string value)
00111 throw(RemoteException, RGMAException);
00112
00113 };
00114 }
00115 }
00116 #endif // ONDEMANDPRODUCER_H