activemq-cpp-3.4.0
|
#include <src/main/activemq/commands/Command.h>
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 |
virtual activemq::commands::Command::~Command | ( | ) | [inline, virtual] |
virtual int activemq::commands::Command::getCommandId | ( | ) | const [pure virtual] |
Gets the Command Id of this Message.
Implemented in activemq::commands::BaseCommand.
virtual bool activemq::commands::Command::isBrokerInfo | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::BrokerInfo.
virtual bool activemq::commands::Command::isConnectionControl | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::ConnectionControl.
virtual bool activemq::commands::Command::isConnectionInfo | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::ConnectionInfo.
virtual bool activemq::commands::Command::isConsumerInfo | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::ConsumerInfo.
virtual bool activemq::commands::Command::isKeepAliveInfo | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::KeepAliveInfo.
virtual bool activemq::commands::Command::isMessage | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::Message.
virtual bool activemq::commands::Command::isMessageAck | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::MessageAck.
virtual bool activemq::commands::Command::isMessageDispatch | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::MessageDispatch.
virtual bool activemq::commands::Command::isMessageDispatchNotification | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::MessageDispatchNotification.
virtual bool activemq::commands::Command::isProducerAck | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::ProducerAck.
virtual bool activemq::commands::Command::isProducerInfo | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::ProducerInfo.
virtual bool activemq::commands::Command::isRemoveInfo | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::RemoveInfo.
virtual bool activemq::commands::Command::isRemoveSubscriptionInfo | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::RemoveSubscriptionInfo.
virtual bool activemq::commands::Command::isResponse | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::Response.
virtual bool activemq::commands::Command::isResponseRequired | ( | ) | const [pure virtual] |
Is a Response required for this Command.
Implemented in activemq::commands::BaseCommand.
virtual bool activemq::commands::Command::isShutdownInfo | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::ShutdownInfo.
virtual bool activemq::commands::Command::isTransactionInfo | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::TransactionInfo.
virtual bool activemq::commands::Command::isWireFormatInfo | ( | ) | const [pure virtual] |
Implemented in activemq::commands::BaseCommand, and activemq::commands::WireFormatInfo.
virtual void activemq::commands::Command::setCommandId | ( | int | id | ) | [pure virtual] |
Sets the Command Id of this Message.
id | Command Id |
Implemented in activemq::commands::BaseCommand.
virtual void activemq::commands::Command::setResponseRequired | ( | const bool | required | ) | [pure virtual] |
Set if this Message requires a Response.
required | true 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.
virtual decaf::lang::Pointer<commands::Command> activemq::commands::Command::visit | ( | activemq::state::CommandVisitor * | visitor | ) | [pure 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.
Implemented in activemq::commands::BrokerError, activemq::commands::BrokerInfo, activemq::commands::ConnectionControl, activemq::commands::ConnectionError, activemq::commands::ConnectionInfo, activemq::commands::ConsumerControl, activemq::commands::ConsumerInfo, activemq::commands::ControlCommand, activemq::commands::DestinationInfo, activemq::commands::FlushCommand, 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.