RSC  0.17.1
rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliveryHandler Class Referenceabstract

A handler that is called whenever a message is received from the pool and should be passed to a receiver of the pool. More...

#include <OrderedQueueDispatcherPool.h>

Inheritance diagram for rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliveryHandler:
Inheritance graph
Collaboration diagram for rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliveryHandler:
Collaboration graph

Public Member Functions

virtual ~DeliveryHandler ()
 
virtual void deliver (boost::shared_ptr< R > &receiver, const M &message)=0
 Requests this handler to deliver the message to the receiver. More...
 

Detailed Description

template<class M, class R>
class rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliveryHandler

A handler that is called whenever a message is received from the pool and should be passed to a receiver of the pool.

Author
jwienke
Note
do not use state in this class and make it reentrant

Definition at line 89 of file OrderedQueueDispatcherPool.h.

Constructor & Destructor Documentation

template<class M , class R >
virtual rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliveryHandler::~DeliveryHandler ( )
inlinevirtual

Definition at line 92 of file OrderedQueueDispatcherPool.h.

References rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliveryHandler::deliver().

Here is the call graph for this function:

Member Function Documentation

template<class M , class R >
virtual void rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliveryHandler::deliver ( boost::shared_ptr< R > &  receiver,
const M &  message 
)
pure virtual

Requests this handler to deliver the message to the receiver.

Parameters
receiverreceiver to pass message to
messagemessage to pass to the receiver

Implemented in rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliverFunctionAdapter.

Referenced by rsc::threading::OrderedQueueDispatcherPool< M, R >::DeliveryHandler::~DeliveryHandler().

Here is the caller graph for this function:


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