18 #ifndef _ACTIVEMQ_COMMANDS_CONSUMERCONTROL_H_ 19 #define _ACTIVEMQ_COMMANDS_CONSUMERCONTROL_H_ 23 #pragma warning( disable : 4290 ) 61 const static unsigned char ID_CONSUMERCONTROL = 17;
74 virtual unsigned char getDataStructureType()
const;
80 virtual std::string toString()
const;
88 virtual bool isClose()
const;
89 virtual void setClose(
bool close );
95 virtual int getPrefetch()
const;
96 virtual void setPrefetch(
int prefetch );
98 virtual bool isFlush()
const;
99 virtual void setFlush(
bool flush );
101 virtual bool isStart()
const;
102 virtual void setStart(
bool start );
104 virtual bool isStop()
const;
105 virtual void setStop(
bool stop );
int prefetch
Definition: ConsumerControl.h:54
Pointer< ConsumerId > consumerId
Definition: ConsumerControl.h:53
#define AMQCPP_API
Definition: Config.h:30
bool stop
Definition: ConsumerControl.h:57
Pointer< ActiveMQDestination > destination
Definition: ConsumerControl.h:51
Definition: DataStructure.h:27
bool flush
Definition: ConsumerControl.h:55
Interface for an Object that can visit the various Command Objects that are sent from and to this cli...
Definition: CommandVisitor.h:69
Definition: ConsumerControl.h:48
Definition: BaseCommand.h:27
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
bool close
Definition: ConsumerControl.h:52
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
virtual bool isConsumerControl() const
Definition: ConsumerControl.h:110
bool start
Definition: ConsumerControl.h:56