activemq-cpp-3.4.0

activemq::commands::ExceptionResponse Class Reference

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

Inheritance diagram for activemq::commands::ExceptionResponse:

Public Member Functions

 ExceptionResponse ()
virtual ~ExceptionResponse ()
virtual unsigned char getDataStructureType () const
 Get the DataStructure Type as defined in CommandTypes.h.
virtual ExceptionResponsecloneDataStructure () const
 Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one.
virtual void copyDataStructure (const DataStructure *src)
 Copy the contents of the passed object into this objects members, overwriting any existing data.
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 const Pointer
< BrokerError > & 
getException () const
virtual Pointer< BrokerError > & getException ()
virtual void setException (const Pointer< BrokerError > &exception)

Static Public Attributes

static const unsigned char ID_EXCEPTIONRESPONSE = 31

Protected Attributes

Pointer< BrokerErrorexception

Constructor & Destructor Documentation

activemq::commands::ExceptionResponse::ExceptionResponse ( )
virtual activemq::commands::ExceptionResponse::~ExceptionResponse ( ) [virtual]

Member Function Documentation

virtual ExceptionResponse* activemq::commands::ExceptionResponse::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::Response.

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

Copy the contents of the passed object into this objects members, overwriting any existing data.

Returns:
src - Source Object

Reimplemented from activemq::commands::Response.

virtual bool activemq::commands::ExceptionResponse::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::Response.

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

Get the DataStructure Type as defined in CommandTypes.h.

Returns:
The type of the data structure

Reimplemented from activemq::commands::Response.

virtual Pointer<BrokerError>& activemq::commands::ExceptionResponse::getException ( ) [virtual]
virtual const Pointer<BrokerError>& activemq::commands::ExceptionResponse::getException ( ) const [virtual]
virtual void activemq::commands::ExceptionResponse::setException ( const Pointer< BrokerError > &  exception) [virtual]
virtual std::string activemq::commands::ExceptionResponse::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::Response.


Field Documentation


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