activemq::core::Dispatcher Class Reference

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

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

Inheritance diagram for activemq::core::Dispatcher:
Inheritance graph
[legend]

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

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:
message The message to be dispatched to a waiting consumer.

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

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:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1