18 #ifndef _ACTIVEMQ_COMMANDS_WIREFORMATINFO_H_ 19 #define _ACTIVEMQ_COMMANDS_WIREFORMATINFO_H_ 34 std::vector<unsigned char> magic;
35 std::vector<unsigned char> marshalledProperties;
50 const static unsigned char ID_WIREFORMATINFO = 1;
58 virtual unsigned char getDataStructureType()
const;
64 virtual std::string toString()
const;
88 this->version = version;
95 long long getMaxInactivityDuration()
const;
101 void setMaxInactivityDuration(
long long maxInactivityDuration );
107 long long getMaxInactivityDurationInitalDelay()
const;
113 void setMaxInactivityDurationInitalDelay(
long long maxInactivityDurationInitalDelay );
119 bool isStackTraceEnabled()
const;
125 void setStackTraceEnabled(
bool stackTraceEnabled );
131 bool isTcpNoDelayEnabled()
const;
137 void setTcpNoDelayEnabled(
bool tcpNoDelayEnabled );
143 bool isCacheEnabled()
const;
149 void setCacheEnabled(
bool cacheEnabled );
155 int getCacheSize()
const;
161 void setCacheSize(
int value );
167 bool isTightEncodingEnabled()
const;
173 void setTightEncodingEnabled(
bool tightEncodingEnabled );
179 bool isSizePrefixDisabled()
const;
185 void setSizePrefixDisabled(
bool sizePrefixDisabled );
191 const std::vector<unsigned char>&
getMagic()
const {
199 void setMagic(
const std::vector<unsigned char>& magic ) {
208 return marshalledProperties;
218 this->marshalledProperties = marshalledProperties;
242 this->properties.
copy( map );
249 bool isValid()
const;
#define AMQCPP_API
Definition: Config.h:30
Definition: DataStructure.h:27
virtual void copy(const StlMap &source)
Definition: StlMap.h:698
Interface for an Object that can visit the various Command Objects that are sent from and to this cli...
Definition: CommandVisitor.h:69
Definition: BaseCommand.h:27
Map of named primitives.
Definition: PrimitiveMap.h:36
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
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