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

Resource.h

00001 #ifndef RESOURCE_H
00002 #define RESOURCE_H
00003 #include "rgma/ResourceEndpoint.h"
00004 #include "rgma/TimeInterval.h"
00005 #include "rgma/RemoteException.h"
00006 #include "rgma/UnknownResourceException.h"
00007 #include "rgma/RGMAException.h"
00008 
00009 namespace glite
00010 {
00011     namespace rgma
00012     {
00017         class Resource
00018         {
00019             protected:
00020                 ResourceEndpoint m_endPoint;
00021                 TimeInterval m_terminationInterval;
00022             public:
00023 
00024                 virtual ~Resource(){}
00030                 virtual ResourceEndpoint getEndpoint() = 0;
00031 
00042                 virtual TimeInterval getTerminationInterval()
00043                     throw(RemoteException, UnknownResourceException) = 0;
00057                 virtual void setTerminationInterval(TimeInterval &time_interval)
00058                     throw(RemoteException, UnknownResourceException, RGMAException) = 0;
00066                 virtual void destroy()
00067                     throw(RemoteException, UnknownResourceException) = 0;
00076                 virtual void close()
00077                     throw(RemoteException, UnknownResourceException) = 0;
00085                 virtual void showSignOfLife()
00086                     throw(RemoteException, UnknownResourceException) = 0;
00087 
00088         };
00089     }
00090 }
00091 #endif                                            // RESOURCE_H

Generated on Thu May 11 19:23:43 2006 for glite-rgma-api-cpp by doxygen 1.3.5