Back to index

nordugrid-arc-nox  1.1.0~rc6
echo.h
Go to the documentation of this file.
00001 #ifndef __ARC_ECHO_H__
00002 #define __ARC_ECHO_H__
00003 
00004 #include <map>
00005 #include <arc/infosys/RegisteredService.h>
00006 #include <arc/Logger.h>
00007 #include <arc/security/PDP.h>
00008 #include <arc/infosys/InformationInterface.h>
00009 
00010 namespace Echo {
00011 
00027 class Service_Echo: public Arc::RegisteredService
00028 {
00029     protected:
00030         std::string prefix_;
00031         std::string suffix_;
00032         std::string policylocation_;
00033         Arc::NS ns_;
00034         Arc::MCC_Status make_fault(Arc::Message& outmsg,const std::string& txtmsg = "");
00035         Arc::Logger logger;
00036         Arc::InformationContainer infodoc;
00037     public:
00039         Service_Echo(Arc::Config *cfg);
00040         virtual ~Service_Echo(void);
00042         virtual Arc::MCC_Status process(Arc::Message&,Arc::Message&);
00043 
00044         bool RegistrationCollector(Arc::XMLNode &doc);
00045 };
00046 
00047 } // namespace Echo
00048 
00049 #endif /* __ARC_ECHO_H__ */