Commit Graph

263 Commits

Author SHA1 Message Date
Emiel Bruijntjes 66d2173f86 added libev implementation for the Tcp handler, added libev example program 2015-11-17 09:33:28 +01:00
Emiel Bruijntjes 3ef9cf47b5 Merge branch 'master' of https://github.com/CopernicaMarketingSoftware/AMQP-CPP 2015-11-10 15:29:37 +01:00
Emiel Bruijntjes 41b07672e0 fixed possible crash when connection was destructed while it was still busy resolving the domain name 2015-11-10 15:29:25 +01:00
Toon Schoenmakers 1aeb0ca530 if Connection::close() was called before the handshake was completed, the instructions that were sent in the middle were not sent to the server 2015-11-06 16:02:01 +01:00
Toon Schoenmakers 1cc86e79e8 fix detection of connections that are closed by the server 2015-11-06 15:17:41 +01:00
Rafal Goslawski e6cf349605 Bump version to 2.3.0 2015-11-06 12:12:07 +01:00
Emiel Bruijntjes 1370afee94 fix compile error 2015-11-04 13:10:05 +01:00
Emiel Bruijntjes 23fa396683 fix compile error 2015-11-04 13:06:28 +01:00
Emiel Bruijntjes fd2a1fd604 Merge branch 'master' of https://github.com/CopernicaMarketingSoftware/AMQP-CPP 2015-11-04 13:05:15 +01:00
Emiel Bruijntjes dcf0b3576b fix issue when tcp is closed 2015-11-04 13:05:03 +01:00
Toon Schoenmakers c783ec7618 When building the address url, username and password should be split with a colon 2015-11-02 17:53:43 +01:00
Toon Schoenmakers 875300dbce Exposed the channels method in the TcpConnection class and added a more specialized constructor to the Address class 2015-11-02 17:47:21 +01:00
Emiel Bruijntjes c2c62562e7 updates to readme 2015-11-02 09:49:04 +01:00
Emiel Bruijntjes 6169989821 updates to readme 2015-11-02 09:40:07 +01:00
Emiel Bruijntjes 5a227196e5 update README file 2015-11-02 09:20:36 +01:00
Emiel Bruijntjes bfdca4825a added "make pure" option, to make the library without tcp support 2015-11-02 09:08:30 +01:00
Emiel Bruijntjes b610ac5183 added TcpConnection::close() method 2015-11-01 12:20:12 +01:00
Emiel Bruijntjes 9e08c6932f extra Address constructor added 2015-11-01 12:17:33 +01:00
Emiel Bruijntjes 6061d853c7 Merge pull request #44 from Kojoley/envelope-copyctor-fix
AMQP::Envelope copy constructor missing base class constructor call
2015-11-01 05:14:27 -05:00
Emiel Bruijntjes 89efd4670f fix windows build 2015-11-01 11:11:51 +01:00
Emiel Bruijntjes 34699cfcd3 fixed formatting 2015-11-01 11:10:01 +01:00
Emiel Bruijntjes 0e5024d38a Merge pull request #47 from keenlogics/Heartbeat
The server heartbeat is stored in Connection
2015-11-01 05:03:02 -05:00
Emiel Bruijntjes 481b35ced5 Merge branch 'master' of https://github.com/CopernicaMarketingSoftware/AMQP-CPP 2015-11-01 10:50:56 +01:00
Emiel Bruijntjes df459c5995 added yothalot to readme file 2015-11-01 10:50:21 +01:00
Emiel Bruijntjes 66ade94fc0 moved the #pragma once statement 2015-11-01 10:48:13 +01:00
Emiel Bruijntjes 54c2c27a73 update README file to explain the Tcp module 2015-11-01 10:43:45 +01:00
Emiel Bruijntjes d41423d5db Added TcpChannel class so that Connection and Channel class are once again completely protocol agnostic 2015-11-01 09:51:43 +01:00
Emiel Bruijntjes b4bd61580b fixed to parsing incoming tcp data 2015-11-01 09:43:17 +01:00
Emiel Bruijntjes df801953a1 improvements to work directly with tcp connections 2015-10-31 21:13:41 +01:00
Emiel Bruijntjes 189d6c9ef1 added Connection::waiting() method to find out if the connection object is waiting/expecting an answer from the rabbitmq server 2015-10-31 18:26:52 +01:00
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