18#ifndef _ACTIVEMQ_COMMANDS_PARTIALCOMMAND_H_
19#define _ACTIVEMQ_COMMANDS_PARTIALCOMMAND_H_
23#pragma warning( disable : 4290 )
50 std::vector<unsigned char>
data;
54 const static unsigned char ID_PARTIALCOMMAND = 60;
80 virtual const std::vector<unsigned char>&
getData()
const;
81 virtual std::vector<unsigned char>&
getData();
82 virtual void setData(
const std::vector<unsigned char>& data);
#define AMQCPP_API
Definition: Config.h:30
Definition: BaseDataStructure.h:33
Definition: DataStructure.h:27
Definition: PartialCommand.h:46
int commandId
Definition: PartialCommand.h:49
virtual void setData(const std::vector< unsigned char > &data)
virtual std::vector< unsigned char > & getData()
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual PartialCommand * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
virtual const std::vector< unsigned char > & getData() const
virtual int getCommandId() const
std::vector< unsigned char > data
Definition: PartialCommand.h:50
virtual void setCommandId(int commandId)
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
virtual ~PartialCommand()
virtual std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: CachedConsumer.h:24