18 #ifndef _ACTIVEMQ_TRANSPORT_INACTIVITY_INACTIVITYMONITOR_H_ 19 #define _ACTIVEMQ_TRANSPORT_INACTIVITY_INACTIVITYMONITOR_H_ 32 namespace inactivity {
38 class AsyncSignalReadErrorkTask;
40 class InactivityMonitorData;
46 InactivityMonitorData* members;
49 friend class AsyncSignalReadErrorkTask;
51 friend class AsyncWriteTask;
79 bool isKeepAliveResponseRequired()
const;
81 void setKeepAliveResponseRequired(
bool value);
83 long long getReadCheckTime()
const;
85 void setReadCheckTime(
long long value);
87 long long getWriteCheckTime()
const;
89 void setWriteCheckTime(
long long value);
91 long long getInitialDelayTime()
const;
93 void setInitialDelayTime(
long long value)
const;
97 virtual void afterNextIsStarted();
99 virtual void beforeNextIsStopped();
101 virtual void doClose();
106 bool allowReadCheck(
long long elapsed);
115 void stopMonitorThreads();
118 void startMonitorThreads();
#define AMQCPP_API
Definition: Config.h:30
Definition: InactivityMonitor.h:42
Runnable class that is used by the {.
Definition: ReadChecker.h:37
A filter on the transport layer.
Definition: TransportFilter.h:44
Runnable class used by the {.
Definition: WriteChecker.h:38
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
Definition: Exception.h:38
Java-like properties class for mapping string names to string values.
Definition: Properties.h:53
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