#include <GenericTestComponent.h>
Public Member Functions | |
GenericTestComponent (const std::string &name, const std::string &receiveTopic, const std::string &sendTopic) throw (CMSException) | |
~GenericTestComponent () | |
Protected Member Functions | |
virtual void | act () throw (CMSException) |
virtual void | react (SEMAINEMessage *message) throw (CMSException) |
semaine::components::dummy::GenericTestComponent::GenericTestComponent | ( | const std::string & | name, | |
const std::string & | receiveTopic, | |||
const std::string & | sendTopic | |||
) | throw (CMSException) |
semaine::components::dummy::GenericTestComponent::~GenericTestComponent | ( | ) |
void semaine::components::dummy::GenericTestComponent::act | ( | ) | throw (CMSException) [protected, virtual] |
Proactive actions. This method is called every waitingTime milliseconds if no messages arrive, and after every message processing.
This base implementation does nothing; subclasses should implement suitable behaviour here.
CMSException | if communication with the JMS server goes wrong. | |
std::exception | if anything goes wrong in the internal processing of the component. |
Reimplemented from semaine::components::Component.
void semaine::components::dummy::GenericTestComponent::react | ( | SEMAINEMessage * | message | ) | throw (CMSException) [protected, virtual] |
Reactions to messages.
This base implementation does nothing; subclasses should implement suitable behaviour here.
CMSException | if communication with the JMS server goes wrong. | |
std::exception | if anything goes wrong in the internal processing of the component. |
Reimplemented from semaine::components::Component.