cms::MessageProducer Class Reference

#include <MessageProducer.h>

List of all members.

Public Member Functions

virtual ~MessageProducer (void)
virtual void send (Message *message)=0 throw ( CMSException )
virtual void send (const Destination *destination, Message *message)=0 throw ( CMSException )
virtual void setDeliveryMode (int mode)=0
virtual int getDeliveryMode (void) const =0
virtual void setDisableMessageId (bool value)=0
virtual bool getDisableMessageId (void) const =0
virtual void setDisableMessageTimeStamp (bool value)=0
virtual bool getDisableMessageTimeStamp (void) const =0
virtual void setPriority (int priority)=0
virtual int getPriority (void) const =0
virtual void setTimeToLive (int time)=0
virtual int getTimeToLive (void) const =0


Detailed Description

defines the MessageProducer interface that is used by all MessageProducer derivations. This class defines the JMS spec'd interface for a MessageProducer.


Constructor & Destructor Documentation

virtual cms::MessageProducer::~MessageProducer void   )  [inline, virtual]
 


Member Function Documentation

virtual int cms::MessageProducer::getDeliveryMode void   )  const [pure virtual]
 

Gets the delivery mode for this Producer

Returns:
The DeliveryMode

virtual bool cms::MessageProducer::getDisableMessageId void   )  const [pure virtual]
 

Gets if Message Ids are disbled for this Producer

Returns:
boolean indicating enable / disable (true / false)

virtual bool cms::MessageProducer::getDisableMessageTimeStamp void   )  const [pure virtual]
 

Gets if Message Time Stamps are disbled for this Producer

Returns:
boolean indicating enable / disable (true / false)

virtual int cms::MessageProducer::getPriority void   )  const [pure virtual]
 

Gets the Priority level that this producer sends messages at

Returns:
int based priority level

virtual int cms::MessageProducer::getTimeToLive void   )  const [pure virtual]
 

Gets the Time to Live that this producer sends messages with

Returns:
int based Time to Live

virtual void cms::MessageProducer::send const Destination destination,
Message message
throw ( CMSException ) [pure virtual]
 

Sends the message to the designated destination, but does not take ownership of the message, caller must still destroy it.

Parameters:
destination - a Message Object Pointer
message - the message to send to the destination
Exceptions:
CMSException 

virtual void cms::MessageProducer::send Message message  )  throw ( CMSException ) [pure virtual]
 

Sends the message to the default producer destination, but does not take ownership of the message, caller must still destroy it.

Parameters:
message - a Message Object Pointer
Exceptions:
CMSException 

virtual void cms::MessageProducer::setDeliveryMode int  mode  )  [pure virtual]
 

Sets the delivery mode for this Producer

Parameters:
mode - The DeliveryMode

virtual void cms::MessageProducer::setDisableMessageId bool  value  )  [pure virtual]
 

Sets if Message Ids are disbled for this Producer

Parameters:
value - boolean indicating enable / disable (true / false)

virtual void cms::MessageProducer::setDisableMessageTimeStamp bool  value  )  [pure virtual]
 

Sets if Message Time Stamps are disbled for this Producer

Parameters:
value - boolean indicating enable / disable (true / false)

virtual void cms::MessageProducer::setPriority int  priority  )  [pure virtual]
 

Sets the Priority that this Producers sends messages at

Parameters:
priority - int value for Priority level

virtual void cms::MessageProducer::setTimeToLive int  time  )  [pure virtual]
 

Sets the Time to Live that this Producers sends messages with

Parameters:
time - int value for time to live


The documentation for this class was generated from the following file:
Generated on Thu Aug 3 16:39:15 2006 for cms by  doxygen 1.4.5