18#ifndef _ACTIVEMQ_COMMANDS_ACTIVEMQTEXTMESSAGE_H_
19#define _ACTIVEMQ_COMMANDS_ACTIVEMQTEXTMESSAGE_H_
36 mutable std::auto_ptr<std::string>
text;
40 ActiveMQTextMessage(
const ActiveMQTextMessage&);
41 ActiveMQTextMessage& operator=(
const ActiveMQTextMessage&);
#define AMQCPP_API
Definition Config.h:30
ActiveMQMessageTemplate()
Definition ActiveMQMessageTemplate.h:48
virtual ~ActiveMQTextMessage()
virtual std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
std::auto_ptr< std::string > text
Definition ActiveMQTextMessage.h:36
virtual void beforeMarshal(wireformat::WireFormat *wireFormat)
Called before marshaling is started to prepare the object to be marshaled.
virtual ActiveMQTextMessage * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
virtual void clearBody()
Clears out the body of the message.
virtual void setText(const char *msg)
Sets the message contents, does not take ownership of the passed char*, but copies it instead.
static const unsigned char ID_ACTIVEMQTEXTMESSAGE
Definition ActiveMQTextMessage.h:34
virtual cms::TextMessage * clone() const
Clone this message exactly, returns a new instance that the caller is required to delete.
virtual unsigned int getSize() const
Returns the Size of this message in Bytes.
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
virtual std::string getText() const
Gets the message character buffer.
Definition DataStructure.h:27
Definition ActiveMQBlobMessage.h:28
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition DestinationResolver.h:23
Definition ArrayPointer.h:432
#define const
Definition zconf.h:198