diff options
author | Andrew Stitcher <astitcher@apache.org> | 2012-10-24 05:51:38 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2012-10-24 05:51:38 +0000 |
commit | 46ac396386fee5e816e5d3a9fae2355017e079bb (patch) | |
tree | c86c0f0d9d5693b92e09292f03bcdd0823c57068 /cpp/src/qpid/sys/AsynchIOHandler.h | |
parent | 5d1d8481c376435051d5b24171dbb209c779b9ab (diff) | |
download | qpid-python-46ac396386fee5e816e5d3a9fae2355017e079bb.tar.gz |
QPID-4272: Large amounts of code are duplicated between the SSL and TCP transports
Add the security related functions to the Socket/Asynch interfaces
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1401560 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/AsynchIOHandler.h')
-rw-r--r-- | cpp/src/qpid/sys/AsynchIOHandler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/AsynchIOHandler.h b/cpp/src/qpid/sys/AsynchIOHandler.h index fd0bc140e5..6e70606a04 100644 --- a/cpp/src/qpid/sys/AsynchIOHandler.h +++ b/cpp/src/qpid/sys/AsynchIOHandler.h @@ -51,6 +51,7 @@ class AsynchIOHandler : public OutputControl { uint32_t reads; bool readError; bool isClient; + bool nodict; AtomicValue<int32_t> readCredit; static const int32_t InfiniteCredit = -1; Mutex creditLock; @@ -59,7 +60,7 @@ class AsynchIOHandler : public OutputControl { void write(const framing::ProtocolInitiation&); public: - QPID_COMMON_EXTERN AsynchIOHandler(const std::string& id, qpid::sys::ConnectionCodec::Factory* f ); + QPID_COMMON_EXTERN AsynchIOHandler(const std::string& id, qpid::sys::ConnectionCodec::Factory* f, bool nodict); QPID_COMMON_EXTERN ~AsynchIOHandler(); QPID_COMMON_EXTERN void init(AsynchIO* a, Timer& timer, uint32_t maxTime); |