activemq-cpp-3.4.0

activemq::commands::Command Class Reference

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

Inheritance diagram for activemq::commands::Command:

Public Member Functions

virtual ~Command ()
virtual void setCommandId (int id)=0
 Sets the Command Id of this Message.
virtual int getCommandId () const =0
 Gets the Command Id of this Message.
virtual void setResponseRequired (const bool required)=0
 Set if this Message requires a Response.
virtual bool isResponseRequired () const =0
 Is a Response required for this Command.
virtual std::string toString () const =0
 Returns a provider-specific string that provides information about the contents of the command.
virtual decaf::lang::Pointer
< commands::Command
visit (activemq::state::CommandVisitor *visitor)=0
 Allows a Visitor to visit this command and return a response to the command based on the command type being visited.
virtual bool isConnectionControl () const =0
virtual bool isConnectionInfo () const =0
virtual bool isConsumerInfo () const =0
virtual bool isBrokerInfo () const =0
virtual bool isKeepAliveInfo () const =0
virtual bool isMessage () const =0
virtual bool isMessageAck () const =0
virtual bool isMessageDispatch () const =0
virtual bool isMessageDispatchNotification () const =0
virtual bool isProducerAck () const =0
virtual bool isProducerInfo () const =0
virtual bool isResponse () const =0
virtual bool isRemoveInfo () const =0
virtual bool isRemoveSubscriptionInfo () const =0
virtual bool isShutdownInfo () const =0
virtual bool isTransactionInfo () const =0
virtual bool isWireFormatInfo () const =0

Constructor & Destructor Documentation

virtual activemq::commands::Command::~Command ( ) [inline, virtual]

Member Function Documentation

virtual int activemq::commands::Command::getCommandId ( ) const [pure virtual]

Gets the Command Id of this Message.

Returns:
Command Id

Implemented in activemq::commands::BaseCommand.

virtual bool activemq::commands::Command::isBrokerInfo ( ) const [pure virtual]
virtual bool activemq::commands::Command::isConnectionControl ( ) const [pure virtual]
virtual bool activemq::commands::Command::isConnectionInfo ( ) const [pure virtual]
virtual bool activemq::commands::Command::isConsumerInfo ( ) const [pure virtual]
virtual bool activemq::commands::Command::isKeepAliveInfo ( ) const [pure virtual]
virtual bool activemq::commands::Command::isMessage ( ) const [pure virtual]
virtual bool activemq::commands::Command::isMessageAck ( ) const [pure virtual]
virtual bool activemq::commands::Command::isMessageDispatch ( ) const [pure virtual]
virtual bool activemq::commands::Command::isMessageDispatchNotification ( ) const [pure virtual]
virtual bool activemq::commands::Command::isProducerAck ( ) const [pure virtual]
virtual bool activemq::commands::Command::isProducerInfo ( ) const [pure virtual]
virtual bool activemq::commands::Command::isRemoveInfo ( ) const [pure virtual]
virtual bool activemq::commands::Command::isRemoveSubscriptionInfo ( ) const [pure virtual]
virtual bool activemq::commands::Command::isResponse ( ) const [pure virtual]
virtual bool activemq::commands::Command::isResponseRequired ( ) const [pure virtual]

Is a Response required for this Command.

Returns:
true if a response is required.

Implemented in activemq::commands::BaseCommand.

virtual bool activemq::commands::Command::isShutdownInfo ( ) const [pure virtual]
virtual bool activemq::commands::Command::isTransactionInfo ( ) const [pure virtual]
virtual bool activemq::commands::Command::isWireFormatInfo ( ) const [pure virtual]
virtual void activemq::commands::Command::setCommandId ( int  id) [pure virtual]

Sets the Command Id of this Message.

Parameters:
idCommand Id

Implemented in activemq::commands::BaseCommand.

virtual void activemq::commands::Command::setResponseRequired ( const bool  required) [pure virtual]

Set if this Message requires a Response.

Parameters:
requiredtrue if response is required

Implemented in activemq::commands::BaseCommand.

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

Returns a provider-specific string that provides information about the contents of the command.

Reimplemented from activemq::commands::BaseDataStructure.

Implemented in activemq::commands::ActiveMQBlobMessage, activemq::commands::ActiveMQBytesMessage, activemq::commands::ActiveMQMapMessage, activemq::commands::ActiveMQMessage, activemq::commands::ActiveMQObjectMessage, activemq::commands::ActiveMQStreamMessage, activemq::commands::ActiveMQTextMessage, activemq::commands::BaseCommand, activemq::commands::BrokerInfo, activemq::commands::ConnectionControl, activemq::commands::ConnectionError, activemq::commands::ConnectionInfo, activemq::commands::ConsumerControl, activemq::commands::ConsumerInfo, activemq::commands::ControlCommand, activemq::commands::DataArrayResponse, activemq::commands::DataResponse, activemq::commands::DestinationInfo, activemq::commands::ExceptionResponse, activemq::commands::FlushCommand, activemq::commands::IntegerResponse, activemq::commands::KeepAliveInfo, activemq::commands::Message, activemq::commands::MessageAck, activemq::commands::MessageDispatch, activemq::commands::MessageDispatchNotification, activemq::commands::MessagePull, activemq::commands::ProducerAck, activemq::commands::ProducerInfo, activemq::commands::RemoveInfo, activemq::commands::RemoveSubscriptionInfo, activemq::commands::ReplayCommand, activemq::commands::Response, activemq::commands::SessionInfo, activemq::commands::ShutdownInfo, activemq::commands::TransactionInfo, and activemq::commands::WireFormatInfo.


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