18#ifndef _ACTIVEMQ_COMMANDS_ACTIVEMQOBJECTMESSAGE_H_
19#define _ACTIVEMQ_COMMANDS_ACTIVEMQOBJECTMESSAGE_H_
#define AMQCPP_API
Definition: Config.h:30
Definition: ActiveMQMessageTemplate.h:41
Definition: ActiveMQObjectMessage.h:29
virtual std::vector< unsigned char > getObjectBytes() const
Returns the byte array containing the serialized form of the transmitted Object.
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
virtual void setObjectBytes(const std::vector< unsigned char > &bytes)
Sets the payload bytes the represent the Object being transmitted.
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
static const unsigned char ID_ACTIVEMQOBJECTMESSAGE
Definition: ActiveMQObjectMessage.h:32
virtual std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
virtual ~ActiveMQObjectMessage()
Definition: ActiveMQObjectMessage.h:43
virtual ActiveMQObjectMessage * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
virtual cms::Message * clone() const
Clone this message exactly, returns a new instance that the caller is required to delete.
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
Definition: DataStructure.h:27
Root of all messages.
Definition: Message.h:88
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: CachedConsumer.h:24