18#ifndef _ACTIVEMQ_COMMANDS_PARTIALCOMMAND_H_
19#define _ACTIVEMQ_COMMANDS_PARTIALCOMMAND_H_
23#pragma warning( disable : 4290 )
35 using decaf::lang::Pointer;
50 std::vector<unsigned char>
data;
58 PartialCommand(
const PartialCommand&);
59 PartialCommand& operator= (
const PartialCommand&);
80 virtual const std::vector<unsigned char>&
getData()
const;
81 virtual std::vector<unsigned char>&
getData();
#define AMQCPP_API
Definition Config.h:30
Definition BaseDataStructure.h:33
Definition DataStructure.h:27
int commandId
Definition PartialCommand.h:49
virtual void setData(const std::vector< unsigned char > &data)
virtual std::vector< unsigned char > & getData()
static const unsigned char ID_PARTIALCOMMAND
Definition PartialCommand.h:54
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.
Definition ActiveMQBlobMessage.h:28
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24