26 #ifndef NIDAS_CORE_STATUSHANDLER_H
27 #define NIDAS_CORE_STATUSHANDLER_H
29 #include <xercesc/sax2/XMLReaderFactory.hpp>
30 #include <xercesc/sax2/DefaultHandler.hpp>
34 namespace nidas {
namespace core {
52 void warning(
const xercesc::SAXParseException & exc);
53 void error(
const xercesc::SAXParseException & exc);
54 void fatalError(
const xercesc::SAXParseException & exc);
60 const XMLCh *
const localname,
61 const XMLCh *
const qname,
62 const xercesc::Attributes & attributes);
65 const XMLCh *
const localname,
66 const XMLCh *
const qname);
69 #
if XERCES_VERSION_MAJOR < 3
70 const unsigned int length);
72 const XMLSize_t length);
Definition: StatusHandler.h:75
void fatalError(const xercesc::SAXParseException &exc)
Definition: StatusHandler.cc:61
Definition: StatusHandler.h:75
std::string _src
host name of socket source
Definition: StatusHandler.h:85
This class implements handling routines for the SAX2 parser.
Definition: StatusHandler.h:41
Definition: StatusHandler.h:75
enum elementType _element
Definition: StatusHandler.h:82
StatusListener * _listener
reference to listener thread
Definition: StatusHandler.h:80
void error(const xercesc::SAXParseException &exc)
Definition: StatusHandler.cc:53
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const xercesc::Attributes &attributes)
Definition: StatusHandler.cc:73
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
Definition: StatusHandler.cc:96
StatusHandler & operator=(const StatusHandler &)
No assignment.
StatusHandler(StatusListener *lstn)
Definition: StatusHandler.h:44
void characters(const XMLCh *const chars, const unsigned int length)
Definition: StatusHandler.cc:103
Definition: StatusHandler.h:75
thread that listens to multicast messages from all of the DSMs.
Definition: StatusListener.h:45
void warning(const xercesc::SAXParseException &exc)
Definition: StatusHandler.cc:45
elementType
Definition: StatusHandler.h:75
Definition: StatusHandler.h:75