18 #ifndef _ACTIVEMQ_STATE_CONNECTIONSTATETRACKER_H_ 19 #define _ACTIVEMQ_STATE_CONNECTIONSTATETRACKER_H_ 38 class RemoveTransactionAction;
39 class StateTrackerImpl;
44 StateTrackerImpl* impl;
46 bool trackTransactions;
48 bool restoreConsumers;
49 bool restoreProducers;
50 bool restoreTransaction;
52 bool trackTransactionProducers;
53 int maxMessageCacheSize;
54 int maxMessagePullCacheSize;
56 friend class RemoveTransactionAction;
70 void connectionInterruptProcessingComplete(
73 void transportInterrupted();
112 return this->restoreConsumers;
116 this->restoreConsumers = restoreConsumers;
120 return this->restoreProducers;
124 this->restoreProducers = restoreProducers;
128 return this->restoreSessions;
132 this->restoreSessions = restoreSessions;
136 return this->trackTransactions;
140 this->trackTransactions = trackTransactions;
144 return this->restoreTransaction;
148 this->restoreTransaction = restoreTransaction;
152 return this->trackMessages;
156 this->trackMessages = trackMessages;
160 return this->maxMessageCacheSize;
164 this->maxMessageCacheSize = maxMessageCacheSize;
168 return this->maxMessagePullCacheSize;
172 this->maxMessagePullCacheSize = maxMessagePullCacheSize;
176 return this->trackTransactionProducers;
180 this->trackTransactionProducers = trackTransactionProducers;
bool isRestoreConsumers() const
Definition: ConnectionStateTracker.h:111
int getMaxMessagePullCacheSize() const
Definition: ConnectionStateTracker.h:167
bool isRestoreTransaction() const
Definition: ConnectionStateTracker.h:143
Definition: ProducerId.h:48
bool isTrackMessages() const
Definition: ConnectionStateTracker.h:151
void setRestoreConsumers(bool restoreConsumers)
Definition: ConnectionStateTracker.h:115
Definition: ConnectionInfo.h:49
#define AMQCPP_API
Definition: Config.h:30
Definition: DestinationInfo.h:49
Definition: SessionInfo.h:48
Definition: ConnectionId.h:51
void setRestoreTransaction(bool restoreTransaction)
Definition: ConnectionStateTracker.h:147
void setTrackMessages(bool trackMessages)
Definition: ConnectionStateTracker.h:155
void setTrackTransactionProducers(bool trackTransactionProducers)
Definition: ConnectionStateTracker.h:179
bool isTrackTransactions() const
Definition: ConnectionStateTracker.h:135
Definition: MessagePull.h:49
Default Implementation of a CommandVisitor that returns NULL for all calls.
Definition: CommandVisitorAdapter.h:66
int getMaxMessageCacheSize() const
Definition: ConnectionStateTracker.h:159
Definition: ConsumerId.h:48
Interface for a transport layer for command objects.
Definition: Transport.h:59
Definition: ConsumerInfo.h:51
void setMaxMessagePullCacheSize(int maxMessagePullCacheSize)
Definition: ConnectionStateTracker.h:171
Definition: ConnectionStateTracker.h:41
bool isRestoreSessions() const
Definition: ConnectionStateTracker.h:127
void setRestoreSessions(bool restoreSessions)
Definition: ConnectionStateTracker.h:131
bool isTrackTransactionProducers() const
Definition: ConnectionStateTracker.h:175
bool isRestoreProducers() const
Definition: ConnectionStateTracker.h:119
Definition: TransactionInfo.h:48
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
Definition: SessionId.h:51
void setTrackTransactions(bool trackTransactions)
Definition: ConnectionStateTracker.h:139
void setRestoreProducers(bool restoreProducers)
Definition: ConnectionStateTracker.h:123
Definition: ProducerInfo.h:50
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
void setMaxMessageCacheSize(int maxMessageCacheSize)
Definition: ConnectionStateTracker.h:163