Information System message processor. More...
#include <InformationInterface.h>
Public Member Functions | |
InformationInterface (bool safe=true) | |
Protected Member Functions | |
virtual void | Get (const std::list< std::string > &path, XMLNodeContainer &result) |
Protected Attributes | |
Glib::Mutex | lock_ |
Information System message processor.
This class provides callback for 2 operations of WS-ResourceProperties and convenient parsing/generation of corresponding SOAP mesages. In a future it may extend range of supported specifications.
Arc::InformationInterface::InformationInterface | ( | bool | safe = true |
) |
Constructor. If 'safe' is true all calls to Get will be locked.
virtual void Arc::InformationInterface::Get | ( | const std::list< std::string > & | path, | |
XMLNodeContainer & | result | |||
) | [protected, virtual] |
This method is called by this object's Process method. Real implementation of this class should return (sub)tree of XML document. This method may be called multiple times per single Process call. Here is a set on XML element names specifying how to reach requested node(s).
Reimplemented in Arc::InfoCacheInterface, and Arc::InformationContainer.
Glib::Mutex Arc::InformationInterface::lock_ [protected] |
Mutex used to protect access to Get methods in multi-threaded env.