Commit Graph

17 Commits

Author SHA1 Message Date
Matt Broadstone a89dbb3805 add tests for proper uri validation
this is the missing component from PR #41, tests a number of example
amqp uri's provided by the RabbitMQ spec/documentation
2014-06-26 16:05:47 -04:00
Matt Broadstone 352669f392 added all tests around exchange declaration 2014-06-11 15:49:05 -04:00
Matt Broadstone 496e00abb9 move error constants to global namespace 2014-06-11 13:44:30 -04:00
Matt Broadstone 1510e1f6c6 provide access to tuning variables, add checks for frameMax per spec in a number of areas,
add an incomplete autotest for using connection tuning parameters
2014-06-09 19:27:24 -04:00
Matt Broadstone 613bd5ba96 make sure all errors have Error in the name 2014-06-09 15:10:22 -04:00
Matt Broadstone 9b45f2ac58 - added auto tests for remove
- remove now takes flags rather than magical booleans
- fixed a bug delete -> deleteOk in QueuePrivate so we can listen for sync queue destruction
- added error signals to Client(Connection), and Channel
- removed automatic calls to remove a Queue when the channel is closed, or Queue is deleted
  this behavior is already handled by the AutoDelete declare option
2014-06-06 12:10:51 -04:00
Matt Broadstone 75ebbec309 stubbed out an SslClient, no tests at all but it builds 2014-06-05 21:31:24 -04:00
Matt Broadstone 607af62b7a added crude autotest for autoReconnect, made connect and disconnect private slots of Client 2014-06-05 16:09:52 -04:00
Matt Broadstone d4b1824b46 merged Client Connection and Network classes, fixed a bug allowing for proper
connecting and disconnecting from a broker
2014-06-03 16:11:30 -04:00
Matt Broadstone 9eabe0587e refactored Connection to take a Network in the ctor
standardized variable names
decoupled Connection and Client (they are no longer friends)
2014-06-03 09:13:37 -04:00
Matt Broadstone 4aa8397f2a style fixes 2014-05-30 17:20:11 -04:00
Matt Broadstone c6d0c57d5f remove crufty unused functions, used constBegin/End for iterations, store itEnd during loop, various other cleanups 2014-05-30 14:33:24 -04:00
Matt Broadstone 3d69359431 renamed open/close methods to connectToHost/disconnectFromHost (to mirror Qt socket API), added the first auto tests! 2014-05-29 10:16:33 -04:00
Matt Broadstone 8f39b2a367 missed a few namespace cleanups 2014-05-28 16:28:45 -04:00
Matt Broadstone 2ba2823b84 export it all! this may be unnecessary, more investigation needed 2014-05-28 15:33:15 -04:00
Matt Broadstone 64f23fd648 namespace cleanup 2014-05-28 14:58:18 -04:00
Matt Broadstone cd33957147 rename amqp => amqp_client 2014-05-28 13:05:51 -04:00