activemq-cpp-3.4.0

activemq::commands::RemoveInfo Class Reference

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

Inheritance diagram for activemq::commands::RemoveInfo:

Public Member Functions

 RemoveInfo ()
virtual ~RemoveInfo ()
virtual unsigned char getDataStructureType () const
 Get the DataStructure Type as defined in CommandTypes.h.
virtual RemoveInfocloneDataStructure () 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
< DataStructure > & 
getObjectId () const
virtual Pointer< DataStructure > & getObjectId ()
virtual void setObjectId (const Pointer< DataStructure > &objectId)
virtual long long getLastDeliveredSequenceId () const
virtual void setLastDeliveredSequenceId (long long lastDeliveredSequenceId)
virtual bool isRemoveInfo () const
virtual Pointer< Commandvisit (activemq::state::CommandVisitor *visitor)
 Allows a Visitor to visit this command and return a response to the command based on the command type being visited.

Static Public Attributes

static const unsigned char ID_REMOVEINFO = 12

Protected Attributes

Pointer< DataStructureobjectId
long long lastDeliveredSequenceId

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements activemq::commands::DataStructure.

virtual void activemq::commands::RemoveInfo::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::BaseCommand.

virtual bool activemq::commands::RemoveInfo::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::BaseCommand.

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

Get the DataStructure Type as defined in CommandTypes.h.

Returns:
The type of the data structure

Implements activemq::commands::DataStructure.

virtual long long activemq::commands::RemoveInfo::getLastDeliveredSequenceId ( ) const [virtual]
virtual const Pointer<DataStructure>& activemq::commands::RemoveInfo::getObjectId ( ) const [virtual]
virtual Pointer<DataStructure>& activemq::commands::RemoveInfo::getObjectId ( ) [virtual]
virtual bool activemq::commands::RemoveInfo::isRemoveInfo ( ) const [inline, virtual]
Returns:
an answer of true to the isRemoveInfo() query.

Reimplemented from activemq::commands::BaseCommand.

virtual void activemq::commands::RemoveInfo::setLastDeliveredSequenceId ( long long  lastDeliveredSequenceId) [virtual]
virtual void activemq::commands::RemoveInfo::setObjectId ( const Pointer< DataStructure > &  objectId) [virtual]
virtual std::string activemq::commands::RemoveInfo::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::BaseCommand.

virtual Pointer<Command> activemq::commands::RemoveInfo::visit ( activemq::state::CommandVisitor visitor) [virtual]

Allows a Visitor to visit this command and return a response to the command based on the command type being visited.

The command will call the proper processXXX method in the visitor.

Returns:
a Response to the visitor being called or NULL if no response.

Implements activemq::commands::Command.


Field Documentation

const unsigned char activemq::commands::RemoveInfo::ID_REMOVEINFO = 12 [static]

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