MessageSender Class Reference

Collaboration diagram for MessageSender:

List of all members.


Detailed Description

All runtime messages are send by this class.

Author:
sschwieb

Public Methods

void sendRunComponentMessage (final Experiment experiment, final ComponentEntity component) throws JMSException
void setJmsTemplate (ConnectionFactory template)
void setQueue (Destination queue)
void sendRunExperimentMessage (final Experiment experiment) throws JMSException
void sendComponentDoneMessage (final Experiment experiment, final ComponentEntity component) throws JMSException
void sendComponentErrorMessage (final Experiment experiment, final ComponentEntity component) throws JMSException
void sendCancelExperiment (final int experimentId)
void sendCancelComponent (final int componentId)

Method Details

void sendCancelComponent ( final int  componentId)
void sendCancelExperiment ( final int  experimentId)
void sendComponentDoneMessage ( final Experiment  experiment,
final ComponentEntity  component 
) throws JMSException

The given component successfully finished processing.

Parameters:
componentEntity
Exceptions:
JMSException
void sendComponentErrorMessage ( final Experiment  experiment,
final ComponentEntity  component 
) throws JMSException

The given component crashed.

Parameters:
componentEntity
Exceptions:
JMSException
void sendRunComponentMessage ( final Experiment  experiment,
final ComponentEntity  component 
) throws JMSException

The given componentEntity is executed.

Parameters:
component
Exceptions:
JMSException
void sendRunExperimentMessage ( final Experiment  experiment) throws JMSException

The given experiment is executed.

Parameters:
experiment
Exceptions:
JMSException
void setJmsTemplate ( ConnectionFactory  template)
void setQueue ( Destination  queue)