activemq-cpp-3.6.0
|
#include <src/main/activemq/commands/BaseDataStructure.h>
Public Member Functions | |
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 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 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 |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in activemq::commands::WireFormatInfo, and activemq::commands::Message.
|
inlinevirtual |
Reimplemented in activemq::commands::WireFormatInfo, and activemq::commands::Message.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in activemq::commands::BooleanExpression.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Determine if the class implementing this interface is really wanting to be told about marshaling.
Normally if you didn't want to be marshal aware you just wouldn't implement this interface but since this is C++ and we don't have true interfaces we need a flat inheritance hierarchy, so we always implement this.
Implements activemq::wireformat::MarshalAware.
Reimplemented in activemq::commands::Message, activemq::commands::WireFormatInfo, and activemq::commands::ActiveMQMapMessage.
|
inlinevirtual |
|
inlinevirtual |
Returns a string containing the information for this DataStructure such as its type and value of its elements.
Implements activemq::commands::DataStructure.
Reimplemented in activemq::commands::Message, activemq::commands::ActiveMQDestination, activemq::commands::ConsumerInfo, activemq::commands::MessageId, activemq::commands::SessionId, activemq::commands::ActiveMQBytesMessage, activemq::commands::BrokerInfo, activemq::commands::ConnectionInfo, activemq::commands::MessageAck, activemq::commands::ProducerId, activemq::commands::ConnectionId, activemq::commands::ActiveMQTempDestination, activemq::commands::ConsumerId, activemq::commands::ConnectionControl, activemq::commands::ConsumerControl, activemq::commands::JournalTopicAck, activemq::commands::ProducerInfo, activemq::commands::DestinationInfo, activemq::commands::MessagePull, activemq::commands::SessionInfo, activemq::commands::MessageDispatch, activemq::commands::MessageDispatchNotification, activemq::commands::SubscriptionInfo, activemq::commands::XATransactionId, activemq::commands::TransactionInfo, activemq::commands::ConnectionError, activemq::commands::JournalQueueAck, activemq::commands::JournalTransaction, activemq::commands::RemoveSubscriptionInfo, activemq::commands::LocalTransactionId, activemq::commands::NetworkBridgeFilter, activemq::commands::ProducerAck, activemq::commands::RemoveInfo, activemq::commands::ActiveMQMapMessage, activemq::commands::ActiveMQStreamMessage, activemq::commands::DataArrayResponse, activemq::commands::DataResponse, activemq::commands::DiscoveryEvent, activemq::commands::ExceptionResponse, activemq::commands::PartialCommand, activemq::commands::ReplayCommand, activemq::commands::BrokerId, activemq::commands::ControlCommand, activemq::commands::IntegerResponse, activemq::commands::JournalTrace, activemq::commands::Response, activemq::commands::FlushCommand, activemq::commands::KeepAliveInfo, activemq::commands::LastPartialCommand, activemq::commands::ShutdownInfo, activemq::commands::TransactionId, activemq::commands::BaseCommand, activemq::commands::ActiveMQBlobMessage, activemq::commands::Command, activemq::commands::WireFormatInfo, activemq::commands::ActiveMQQueue, activemq::commands::ActiveMQTopic, activemq::commands::ActiveMQTextMessage, activemq::commands::ActiveMQObjectMessage, activemq::commands::ActiveMQTempQueue, activemq::commands::ActiveMQTempTopic, activemq::commands::ActiveMQMessage, and activemq::commands::BooleanExpression.
Referenced by activemq::commands::BooleanExpression::toString(), and activemq::commands::BaseCommand::toString().