#include <MessageConsumer.h>
Public Member Functions | |
virtual | ~MessageConsumer (void) |
virtual Message * | receive (void)=0 throw ( CMSException ) |
virtual Message * | receive (int millisecs)=0 throw ( CMSException ) |
virtual Message * | receiveNoWait (void)=0 throw ( CMSException ) |
virtual void | setMessageListener (MessageListener *listener)=0 |
virtual MessageListener * | getMessageListener (void) const =0 |
virtual std::string | getMessageSelector (void) const =0 throw ( cms::CMSException ) |
|
|
|
Gets the MessageListener that this class will send notifs on
|
|
Gets this message consumer's message selector expression.
|
|
Synchronously Receive a Message, time out after defined interval. Returns null if nothing read.
|
|
Synchronously Receive a Message
|
|
Receive a Message, does not wait if there isn't a new message to read, returns NULL if nothing read.
|
|
Sets the MessageListener that this class will send notifs on
|