#include <LogInputReactor.hpp>
Inherits pion::platform::Reactor.
Definition at line 45 of file LogInputReactor.hpp.
Public Member Functions | |
| LogInputReactor (void) | |
| constructs a new LogInputReactor object | |
| virtual | ~LogInputReactor () |
| virtual destructor: this class is meant to be extended | |
| virtual void | setConfig (const pion::platform::Vocabulary &v, const xmlNodePtr config_ptr) |
| virtual void | query (std::ostream &out, const QueryBranches &branches, const QueryParams &qp) |
| virtual void | start (void) |
| called by the ReactorEngine to start Event processing | |
| virtual void | stop (void) |
| called by the ReactorEngine to stop Event processing | |
| void | setLogger (PionLogger log_ptr) |
| sets the logger to be used | |
| PionLogger | getLogger (void) |
| returns the logger currently in use | |
Classes | |
| class | BadFrequencyException |
| exception thrown if the frequency is not greater than zero More... | |
| class | DirectoryNotFoundException |
| exception thrown if the directory configured is not found More... | |
| class | EmptyCodecException |
| exception thrown if the Reactor configuration does not define a Codec More... | |
| class | EmptyDirectoryException |
| exception thrown if the Reactor configuration does not define a Directory More... | |
| class | EmptyFilenameException |
| exception thrown if the Reactor configuration does not define a Filename More... | |
| class | EmptyLogException |
| exception thrown if the Reactor tries to consume a log file that is empty More... | |
| class | NotADirectoryException |
| exception thrown if the directory configuration option is not a directory More... | |
| class | OpenLogException |
| exception thrown if the Reactor is unable to open a log file for reading More... | |
| class | ReadEventException |
| exception thrown if the Reactor encounters an error while reading Events More... | |
| void pion::plugins::LogInputReactor::query | ( | std::ostream & | out, | |
| const QueryBranches & | branches, | |||
| const QueryParams & | qp | |||
| ) | [virtual] |
handle an HTTP query (from QueryService)
| out | the ostream to write the statistics info into | |
| branches | URI stem path branches for the HTTP request | |
| qp | query parameters or pairs passed in the HTTP request |
Definition at line 136 of file LogInputReactor.cpp.
References pion::platform::Reactor::writeBeginReactorXML(), pion::platform::Reactor::writeEndReactorXML(), and pion::platform::Reactor::writeStatsOnlyXML().
| void pion::plugins::LogInputReactor::setConfig | ( | const pion::platform::Vocabulary & | v, | |
| const xmlNodePtr | config_ptr | |||
| ) | [virtual] |
sets configuration parameters for this Reactor
| v | the Vocabulary that this Reactor will use to describe Terms | |
| config_ptr | pointer to a list of XML nodes containing Reactor configuration parameters |
Reimplemented from pion::platform::Reactor.
Definition at line 69 of file LogInputReactor.cpp.
References pion::platform::Reactor::ConfigWriteLock, pion::platform::PlatformPlugin::getId(), pion::platform::PlatformPlugin::getReactionEngine(), pion::platform::ConfigManager::resolveRelativeDataPath(), and pion::platform::ConfigManager::resolveRelativePath().
1.4.7