semaine::components::dummy::GenericTestComponent Class Reference

#include <GenericTestComponent.h>

Inheritance diagram for semaine::components::dummy::GenericTestComponent:
semaine::components::Component semaine::cms::SEMAINEMessageAvailableListener

List of all members.

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)

Constructor & Destructor Documentation

semaine::components::dummy::GenericTestComponent::GenericTestComponent ( const std::string &  name,
const std::string &  receiveTopic,
const std::string &  sendTopic 
) throw (CMSException)
semaine::components::dummy::GenericTestComponent::~GenericTestComponent (  ) 

Member Function Documentation

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.

Exceptions:
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.

Exceptions:
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.


The documentation for this class was generated from the following files:
Generated on Tue Dec 14 17:13:18 2010 for SEMAINE by  doxygen 1.6.3