activemq-cpp-3.6.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 | isBrokerInfo () const =0 |
virtual bool | isControlCommand () const =0 |
virtual bool | isConnectionControl () const =0 |
virtual bool | isConnectionInfo () const =0 |
virtual bool | isConnectionError () const =0 |
virtual bool | isConsumerInfo () const =0 |
virtual bool | isConsumerControl () const =0 |
virtual bool | isDestinationInfo () const =0 |
virtual bool | isFlushCommand () const =0 |
virtual bool | isKeepAliveInfo () const =0 |
virtual bool | isMessage () const =0 |
virtual bool | isMessageAck () const =0 |
virtual bool | isMessagePull () 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 | isReplayCommand () const =0 |
virtual bool | isRemoveInfo () const =0 |
virtual bool | isRemoveSubscriptionInfo () const =0 |
virtual bool | isSessionInfo () const =0 |
virtual bool | isShutdownInfo () const =0 |
virtual bool | isTransactionInfo () const =0 |
virtual bool | isWireFormatInfo () const =0 |
![]() | |
virtual | ~BaseDataStructure () |
virtual bool | isMarshalAware () const |
Determine if the class implementing this interface is really wanting to be told about marshaling. | |
virtual void | beforeMarshal (wireformat::WireFormat *wireFormat AMQCPP_UNUSED) |
virtual void | afterMarshal (wireformat::WireFormat *wireFormat AMQCPP_UNUSED) |
virtual void | beforeUnmarshal (wireformat::WireFormat *wireFormat AMQCPP_UNUSED) |
virtual void | afterUnmarshal (wireformat::WireFormat *wireFormat AMQCPP_UNUSED) |
virtual void | setMarshaledForm (wireformat::WireFormat *wireFormat AMQCPP_UNUSED, const std::vector< char > &data AMQCPP_UNUSED) |
virtual std::vector< unsigned char > | getMarshaledForm (wireformat::WireFormat *wireFormat AMQCPP_UNUSED) |
virtual void | copyDataStructure (const DataStructure *src AMQCPP_UNUSED) |
virtual bool | equals (const DataStructure *value AMQCPP_UNUSED) const |
![]() | |
virtual | ~DataStructure () |
virtual unsigned char | getDataStructureType () const =0 |
Get the DataStructure Type as defined in CommandTypes.h. | |
virtual DataStructure * | cloneDataStructure () const =0 |
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)=0 |
Copy the contents of the passed object into this objects members, overwriting any existing data. | |
virtual bool | equals (const DataStructure *value) const =0 |
Compares the DataStructure passed in to this one, and returns if they are equivalent. | |
![]() | |
virtual | ~MarshalAware () |
virtual void | beforeMarshal (WireFormat *wireFormat)=0 |
Called before marshaling is started to prepare the object to be marshaled. | |
virtual void | afterMarshal (WireFormat *wireFormat)=0 |
Called after marshaling is started to cleanup the object being marshaled. | |
virtual void | beforeUnmarshal (WireFormat *wireFormat)=0 |
Called before unmarshaling is started to prepare the object to be unmarshaled. | |
virtual void | afterUnmarshal (WireFormat *wireFormat)=0 |
Called after unmarshaling is started to cleanup the object being unmarshaled. | |
virtual void | setMarshaledForm (WireFormat *wireFormat, const std::vector< char > &data)=0 |
Called to set the data to this object that will contain the objects marshaled form. | |
virtual std::vector< unsigned char > | getMarshaledForm (WireFormat *wireFormat)=0 |
Called to get the data to this object that will contain the objects marshaled form. |
|
inlinevirtual |
|
pure virtual |
Gets the Command Id of this Message.
Implemented in activemq::commands::BaseCommand.
|
pure virtual |
Implemented in activemq::commands::BrokerInfo, and activemq::commands::BaseCommand.
|
pure virtual |
Implemented in activemq::commands::ConnectionControl, and activemq::commands::BaseCommand.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::ConnectionError.
|
pure virtual |
Implemented in activemq::commands::ConnectionInfo, and activemq::commands::BaseCommand.
|
pure virtual |
Implemented in activemq::commands::ConsumerControl, and activemq::commands::BaseCommand.
|
pure virtual |
Implemented in activemq::commands::ConsumerInfo, and activemq::commands::BaseCommand.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::ControlCommand.
|
pure virtual |
Implemented in activemq::commands::BaseCommand.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::FlushCommand.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::KeepAliveInfo.
|
pure virtual |
Implemented in activemq::commands::Message, and activemq::commands::BaseCommand.
|
pure virtual |
Implemented in activemq::commands::MessageAck, and activemq::commands::BaseCommand.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::MessageDispatch.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::MessageDispatchNotification.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::MessagePull.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::ProducerAck.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::ProducerInfo.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::RemoveInfo.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::RemoveSubscriptionInfo.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::ReplayCommand.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::Response.
|
pure virtual |
Is a Response required for this Command.
Implemented in activemq::commands::BaseCommand.
|
pure virtual |
Implemented in activemq::commands::BaseCommand.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::ShutdownInfo.
|
pure virtual |
Implemented in activemq::commands::BaseCommand, and activemq::commands::TransactionInfo.
|
pure virtual |
Implemented in activemq::commands::WireFormatInfo, and activemq::commands::BaseCommand.
|
pure virtual |
Sets the Command Id of this Message.
id | Command Id |
Implemented in activemq::commands::BaseCommand.
|
pure virtual |
Set if this Message requires a Response.
required | true if response is required |
Implemented in activemq::commands::BaseCommand.
|
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::Message, activemq::commands::ConsumerInfo, activemq::commands::ActiveMQBytesMessage, activemq::commands::BrokerInfo, activemq::commands::ConnectionInfo, activemq::commands::MessageAck, activemq::commands::ConnectionControl, activemq::commands::ConsumerControl, activemq::commands::ProducerInfo, activemq::commands::DestinationInfo, activemq::commands::MessagePull, activemq::commands::SessionInfo, activemq::commands::MessageDispatch, activemq::commands::MessageDispatchNotification, activemq::commands::TransactionInfo, activemq::commands::ConnectionError, activemq::commands::RemoveSubscriptionInfo, activemq::commands::ProducerAck, activemq::commands::RemoveInfo, activemq::commands::ActiveMQMapMessage, activemq::commands::ActiveMQStreamMessage, activemq::commands::DataArrayResponse, activemq::commands::DataResponse, activemq::commands::ExceptionResponse, activemq::commands::ReplayCommand, activemq::commands::ControlCommand, activemq::commands::IntegerResponse, activemq::commands::Response, activemq::commands::FlushCommand, activemq::commands::KeepAliveInfo, activemq::commands::ShutdownInfo, activemq::commands::BaseCommand, activemq::commands::ActiveMQBlobMessage, activemq::commands::WireFormatInfo, activemq::commands::ActiveMQTextMessage, activemq::commands::ActiveMQObjectMessage, and activemq::commands::ActiveMQMessage.
|
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::Message, activemq::commands::ConsumerInfo, activemq::commands::BrokerInfo, activemq::commands::ConnectionInfo, activemq::commands::MessageAck, activemq::commands::ConnectionControl, activemq::commands::ConsumerControl, activemq::commands::ProducerInfo, activemq::commands::MessagePull, activemq::commands::MessageDispatch, activemq::commands::MessageDispatchNotification, activemq::commands::DestinationInfo, activemq::commands::BrokerError, activemq::commands::RemoveSubscriptionInfo, activemq::commands::TransactionInfo, activemq::commands::SessionInfo, activemq::commands::ConnectionError, activemq::commands::ProducerAck, activemq::commands::RemoveInfo, activemq::commands::ReplayCommand, activemq::commands::ControlCommand, activemq::commands::Response, activemq::commands::FlushCommand, activemq::commands::KeepAliveInfo, activemq::commands::ShutdownInfo, and activemq::commands::WireFormatInfo.