activemq-cpp-3.9.5
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.
 
virtual int getHashCode () const =0
 HashCode method allowing Dispatcher instances to be used in HashMap etc.
 

Detailed Description

Interface for an object responsible for dispatching messages to consumers.

Constructor & Destructor Documentation

◆ ~Dispatcher()

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

Member Function Documentation

◆ dispatch()

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::AdvisoryConsumer, activemq::core::kernels::ActiveMQConsumerKernel, and activemq::core::kernels::ActiveMQSessionKernel.

◆ getHashCode()

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::AdvisoryConsumer, activemq::core::kernels::ActiveMQConsumerKernel, and activemq::core::kernels::ActiveMQSessionKernel.


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