fesa::OnDemandConsumerImpl Class Reference

#include <OnDemandConsumerImpl.h>

Inheritance diagram for fesa::OnDemandConsumerImpl:
fesa::OnDemandConsumer

List of all members.

Public Member Functions

 OnDemandConsumerImpl (AbstractMsgQueue *msgQueue)
virtual ~OnDemandConsumerImpl ()
OnDemandMessagegetMessage ()
 receive the next message which is on the queue (blocking)

Private Attributes

AbstractMsgQueuemsgQueue_
 the message queue used to interchange messages

Detailed Description

Definition at line 12 of file OnDemandConsumerImpl.h.


Constructor & Destructor Documentation

fesa::OnDemandConsumerImpl::OnDemandConsumerImpl ( AbstractMsgQueue msgQueue  ) 

Definition at line 18 of file OnDemandConsumerImpl.cpp.

References msgQueue_, and fesa::AbstractMsgQueue::purge().

fesa::OnDemandConsumerImpl::~OnDemandConsumerImpl (  )  [virtual]

Definition at line 23 of file OnDemandConsumerImpl.cpp.


Member Function Documentation

OnDemandMessage * fesa::OnDemandConsumerImpl::getMessage (  )  [virtual]

receive the next message which is on the queue (blocking)

Implements fesa::OnDemandConsumer.

Definition at line 28 of file OnDemandConsumerImpl.cpp.

References fesa::AbstractMsgQueue::consumeMsg(), fesa::AbstractMsgQueue::getQueueName(), and msgQueue_.


Member Data Documentation

the message queue used to interchange messages

Definition at line 30 of file OnDemandConsumerImpl.h.

Referenced by getMessage(), and OnDemandConsumerImpl().


The documentation for this class was generated from the following files:

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1