activemq::commands::ActiveMQMessage Class Reference

#include <src/main/activemq/commands/ActiveMQMessage.h>

Inheritance diagram for activemq::commands::ActiveMQMessage:
Inheritance graph
[legend]

Public Member Functions

 ActiveMQMessage ()
virtual ~ActiveMQMessage () throw ()
virtual unsigned char getDataStructureType () const
 Get the DataStructure Type as defined in CommandTypes.h.
virtual void copyDataStructure (const DataStructure *src)
virtual ActiveMQMessagecloneDataStructure () const
 Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one.
virtual std::string toString () const
 Returns a string containing the information for this DataStructure such as its type and value of its elements.
virtual bool equals (const DataStructure *value) const
 Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual cms::Messageclone () const
 Clone this message exactly, returns a new instance that the caller is required to delete.

Static Public Attributes

static const unsigned char ID_ACTIVEMQMESSAGE = 23

Constructor & Destructor Documentation

activemq::commands::ActiveMQMessage::ActiveMQMessage (  ) 
virtual activemq::commands::ActiveMQMessage::~ActiveMQMessage (  )  throw () [inline, virtual]

Member Function Documentation

virtual cms::Message* activemq::commands::ActiveMQMessage::clone (  )  const [inline, virtual]

Clone this message exactly, returns a new instance that the caller is required to delete.

Returns:
new copy of this message

Implements cms::Message.

References activemq::commands::Message::setReadOnlyBody(), and activemq::commands::Message::setReadOnlyProperties().

virtual ActiveMQMessage* activemq::commands::ActiveMQMessage::cloneDataStructure (  )  const [virtual]

Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one.

Returns:
new copy of this object.

Reimplemented from activemq::commands::Message.

virtual void activemq::commands::ActiveMQMessage::copyDataStructure ( const DataStructure src  )  [virtual]

Reimplemented from activemq::commands::Message.

virtual bool activemq::commands::ActiveMQMessage::equals ( const DataStructure value  )  const [virtual]

Compares the DataStructure passed in to this one, and returns if they are equivalent.

Equivalent here means that they are of the same type, and that each element of the objects are the same.

Returns:
true if DataStructure's are Equal.

Reimplemented from activemq::commands::ActiveMQMessageTemplate< cms::Message >.

virtual unsigned char activemq::commands::ActiveMQMessage::getDataStructureType (  )  const [virtual]

Get the DataStructure Type as defined in CommandTypes.h.

Returns:
The type of the data structure

Reimplemented from activemq::commands::Message.

virtual std::string activemq::commands::ActiveMQMessage::toString (  )  const [virtual]

Returns a string containing the information for this DataStructure such as its type and value of its elements.

Returns:
formatted string useful for debugging.

Reimplemented from activemq::commands::Message.


Field Documentation


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