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

ResourceImpl.h

00001 #ifndef RESOURCE_IMPL_H
00002 #define RESOURCE_IMPL_H
00003 #include "rgma/ResourceEndpoint.h"
00004 #include "rgma/Resource.h"
00005 #include "rgma/TimeInterval.h"
00006 #include "rgma/RemoteException.h"
00007 #include "rgma/UnknownResourceException.h"
00008 #include "rgma/RGMAException.h"
00009 #include "rgma/ServletConnection.h"
00010 #include "log4cxx/logger.h"
00011 #include "log4cxx/level.h"
00012 #include "log4cxx/helpers/loglog.h"
00013 #include "log4cxx/propertyconfigurator.h"
00014 #include "log4cxx/helpers/exception.h"
00015 #include <string>
00016 
00017 namespace glite
00018 {
00019     namespace rgma
00020     {
00025         class ResourceImpl :public Resource
00026         {
00027             protected:
00028                 ResourceEndpoint m_endPoint;
00029 
00035                 ServletConnection* getServletConnection() throw(RGMAException);
00036             private:
00037                 ServletConnection* m_servletConnection;
00038                 log4cxx::LoggerPtr m_logger;
00039 
00040             public:
00041 
00042                 virtual ~ResourceImpl();
00043                 ResourceImpl();
00049                 virtual ResourceEndpoint getEndpoint();
00050 
00061                 virtual TimeInterval getTerminationInterval()
00062                     throw(RemoteException, UnknownResourceException);
00079                 virtual void setTerminationInterval(TimeInterval &time_interval)
00080                     throw(RemoteException, UnknownResourceException, RGMAException);
00089                 virtual void destroy()
00090                     throw(RemoteException, UnknownResourceException);
00099                 virtual void close()
00100                     throw(RemoteException, UnknownResourceException);
00108                 virtual void showSignOfLife()
00109                     throw(RemoteException, UnknownResourceException);
00110 
00111         };
00112     }
00113 }
00114 #endif                                            // RESOURCE_H

Generated on Fri Mar 16 14:00:16 2007 for glite-rgma-api-cpp by doxygen 1.3.5