activemq-cpp-3.9.0
activemq::core::Dispatcher Class Referenceabstract

Interface for an object responsible for dispatching messages to consumers. More...

#include <src/main/activemq/core/Dispatcher.h>

Inheritance diagram for activemq::core::Dispatcher:

Public Member Functions

virtual ~Dispatcher ()
 
virtual void dispatch (const decaf::lang::Pointer< commands::MessageDispatch > &message)=0
 Dispatches a message to a particular consumer. More...
 
virtual int getHashCode () const =0
 HashCode method allowing Dispatcher instances to be used in HashMap etc. More...
 

Detailed Description

Interface for an object responsible for dispatching messages to consumers.

Constructor & Destructor Documentation

virtual activemq::core::Dispatcher::~Dispatcher ( )
virtual

Member Function Documentation

virtual void activemq::core::Dispatcher::dispatch ( const decaf::lang::Pointer< commands::MessageDispatch > &  message)
pure virtual

Dispatches a message to a particular consumer.

Parameters
messageThe message to be dispatched to a waiting consumer.

Implemented in activemq::core::kernels::ActiveMQSessionKernel, activemq::core::kernels::ActiveMQConsumerKernel, and activemq::core::AdvisoryConsumer.

virtual int activemq::core::Dispatcher::getHashCode ( ) const
pure virtual

HashCode method allowing Dispatcher instances to be used in HashMap etc.

Returns
hash value for this Dispatcher.

Implemented in activemq::core::kernels::ActiveMQSessionKernel, activemq::core::kernels::ActiveMQConsumerKernel, and activemq::core::AdvisoryConsumer.


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