Commit Graph

983 Commits

Author SHA1 Message Date
Emiel Bruijntjes f3955bcd51 implemented TcpConnection, so that users of the library do not have to setup their own tcp connections 2015-10-31 18:26:04 +01:00
Emiel Bruijntjes d18fd082d2 use move semantics in Login class (small optimization) 2015-10-31 18:23:24 +01:00
Emiel Bruijntjes fc5a053089 added "Address" class to parse "amqp://" urls 2015-10-31 18:22:41 +01:00
Toon Schoenmakers 5803b2c120 Bump version number 2015-10-30 15:17:06 +01:00
Toon Schoenmakers d79e0e7c7e Added a static_fpic target so we can statically link this library into other libraries
Also got rid of the -flto, which is pretty useless in libraries anyway.
2015-10-30 14:29:55 +01:00
Sebastian Melinat 74a1a17553 During the handshake the heartbeat duration the server wants is stored in the connection so that clients can retrieve and use it for error detection 2015-10-21 15:26:53 +02:00
Jakub Stefanski 6782a7bfd4 Fix Windows build
Fixed windef.h shadowing of 'max' definition and added LEAN_AND_MEAN
definition for more lightweight build.
Added missing 'functional' includes.
2015-10-02 15:54:15 +02:00
Nikita Kniazev ca522a32a5 AMQP::Envelope copy constructor missing base class constructor call 2015-09-28 12:56:52 +03:00
Toon Schoenmakers 12af6e854a Added a method to check how many channels a connection has 2015-09-10 14:33:25 +02:00
Rafal Goslawski 6f230ebf4a Bump version to 2.2.1 2015-08-06 13:08:28 +02:00
Toon Schoenmakers a0d7063c4e Fixed a few incorrect signatures in docblocks 2015-08-03 16:25:25 +02:00
Emiel Bruijntjes 06bb60bc5a Update README.md 2015-07-06 09:28:08 +02:00
Martijn Otto b6c88febbd Special treatment for Mac OS X: It uses a different parameter for setting the soname 2015-07-01 10:04:40 +02:00
Martijn Otto db3613112e Removed some macros for FreeBSD: Apparantly they are not needed. We might need to remove them for NetBSD and DragonFly as well 2015-07-01 09:48:56 +02:00
Martijn Otto 7a11c23f03 When a deferred handler is in error state, registering a finalize callback should also cause it to be called immediately 2015-06-12 16:48:25 +02:00
Emiel Bruijntjes ce80a971d7 update cmakefile 2015-06-01 08:44:59 +02:00
Emiel Bruijntjes 34b6d1fbc4 removed files that were moved 2015-06-01 08:44:17 +02:00
Emiel Bruijntjes 2754800ab9 changed directories 2015-06-01 08:44:02 +02:00
Emiel Bruijntjes 5c8ee2aca3 Merge pull request #29 from RPG-18/rabbitmq-tutorial
Rabbitmq tutorial
2015-06-01 08:41:51 +02:00
RPG-18 f094a65f02 add timer 2015-05-20 01:53:13 +03:00
RafalGoslawski bcf77ea1c8 Add soname and release build traget, default make target is debug 2015-05-19 13:51:36 +02:00
RPG-18 44027dbb52 add RabbitMQ Tutorials 2015-05-19 00:20:52 +03:00
Martijn Otto a93b88697d Fix double ready bug for channel, fixes #25 2015-05-18 10:56:50 +02:00
Martijn Otto 7ae4f9c5ff Fixed a bug in the envelope, easy retrieval of field type and improved casting operators for numeric fields 2015-05-05 13:38:20 +02:00
Martijn Otto fcc9522e16 Some bugfixes and performance enhancements 2015-04-30 14:18:18 +02:00
Martijn Otto 45deeaa754 Fixed a bug where a frame could be sent exceeding the maximum frame size (resulting in protocol errors) and added some optimizations 2015-04-30 10:59:03 +02:00
Martijn Otto b9caf0199d Received messages are now moved into the callback instead of provided as a const reference 2015-04-28 10:58:49 +02:00
Emiel Bruijntjes ad3b95741e various trics and changes so that windows compilers, and 32bit systems will not complain about stuff 2015-04-24 10:46:44 +02:00
Emiel Bruijntjes 4e09e54849 Merge branch 'master' of https://github.com/CopernicaMarketingSoftware/AMQP-CPP 2015-04-24 09:59:05 +02:00
Emiel Bruijntjes 3a4de6194c removed symlinks from repository because not all systems (hello windows) understand them 2015-04-24 09:58:32 +02:00
Martijn Otto 368f4485c9 Merge branch 'master' of github.com:CopernicaMarketingSoftware/AMQP-CPP 2015-04-22 14:24:18 +02:00
Martijn Otto 803ba6cc88 Added publish method with r-value std::string 2015-04-22 14:24:00 +02:00
Emiel Bruijntjes bc3dc08e4a Update README.md 2015-04-03 09:04:46 +02:00
Emiel Bruijntjes 3d1c3c4218 Update README.md 2015-04-01 12:32:27 +02:00
Emiel Bruijntjes 9443c4af83 Update README.md
Added links to Copernica to the README file
2015-04-01 12:31:20 +02:00
Martijn Otto 0b7cecfd5a Merge pull request #24 from szreder/master
Fixes and enhancements for CMake build system
2015-03-30 10:35:29 +02:00
Bartosz Szreder 2dba897ed9 Add install target to CMake. 2015-03-29 20:25:12 +02:00
Bartosz Szreder 11bf55b6a2 Fix compilation with CMake. 2015-03-29 15:48:42 +02:00
Emiel Bruijntjes df6b8ae743 in reaction to pull request #21 the "const uint**_t" return values have been changed into "uint**_t" return values 2015-02-17 09:02:51 +01:00
Emiel Bruijntjes 5a1539b18c Merge pull request #20 from keenlogics/develop
Bugfix: ConnectionImpl::reportError for loops runs out of bounds
2015-01-28 11:52:53 +01:00
Sebastian Melinat 09850e792f Bugfix: ConnectionImpl::reportError calls ChannelImpl::reportError of every channel. The channel then removes itselfs from the connection. That caused the for loop to run out of bounds. Fixed by switching to while 2015-01-28 11:47:03 +01:00
Emiel Bruijntjes f23dc72a4f Fixed documentation, removed references to the ChannelHandler - an object that is no longer supported by AMQP-CPP 2015-01-26 14:47:30 +01:00
Emiel Bruijntjes b207ad7d17 Update README.md
Based on a suggestion from issue #16.
2014-12-01 16:34:12 +01:00
Emiel Bruijntjes 2a4896342c Login errors are now explicitly reported via the ConnectionHandler::onError method, see issue #15 2014-11-20 13:01:26 +01:00
Emiel Bruijntjes 236dd02b13 fixed theoretical issue when deferredGet onSize() methods destructs the underlying channel object 2014-09-02 11:18:11 +02:00
Emiel Bruijntjes 9653578d4a The Channel.get().onFinalize() function was called before the Channel.get().onSuccess() method, which is strange. This has been fixed. To fix this, we had to refactor the Deferred* into shared_ptrs 2014-09-02 10:32:55 +02:00
Emiel Bruijntjes 6cc25c4b27 removed operator= from channels and connections 2014-08-29 13:24:24 +02:00
Emiel Bruijntjes aceac8b677 the finalize callback is now called as part of the deferred object destructor, this ensures that the finalize callback will always be called 2014-08-29 13:18:08 +02:00
Emiel Bruijntjes d35dba71a1 disabled copy constructors for channel and connection objects, because the end-user is not supposed to copy them 2014-08-29 13:17:17 +02:00
Emiel Bruijntjes 8759258a3e Channel::get() and Channel::purgeQueue() methods always reported an error, even while there was no error 2014-08-29 13:16:05 +02:00