summaryrefslogtreecommitdiff
path: root/cpp/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Separate generated public header files from non-public headers, generated ↵Alan Conway2009-07-272-2/+3
| | | | | | | | | | | | | | | | | | | | code re-organization. The gen/ directory has been removed, code is now generated into: $(builddir)/src - all .cpp files and non-public .h files. $(builddir)/include - all public .h files. The gen/ directory was originally intended to separate generated code from hand-written code. However both automake and cmake allow you to direct all build output, including generated code, into a separate build directory. In fact both recommend you build this way. Keeping the gen/ directory meant there would have been a total of 8 places to look for header files, all the combinations of builddir/srcdir, src/include and gen/no-gen. This was a mess, 4 is bad enough. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@798291 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'move_public_h_to_include' into trunkAlan Conway2009-07-152-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@794325 13f79535-47bb-0310-9956-ffa450edef68
* Fix make build to generate code into the build treeAndrew Stitcher2009-07-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790465 13f79535-47bb-0310-9956-ffa450edef68
* Fix cmake build for recent gnu ld which needs all libs used by prog andAndrew Stitcher2009-07-021-2/+6
| | | | | | | dependencies linked into prog, also fix for older versions of cmake with more limited boost support. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790464 13f79535-47bb-0310-9956-ffa450edef68
* Minor cleanup of the new management-failover example.Ted Ross2009-06-161-6/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785339 13f79535-47bb-0310-9956-ffa450edef68
* Added a new qmf-console example program.Ted Ross2009-06-162-1/+175
| | | | | | | | | | This new program illustrates how individual nodes of a broker cluster may be monitored. It connects to all nodes, tracks their connectivity, and queries only one of the connected nodes. This mechanism is used in lieu of cluster-failover which is not appropriate for broker management. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1786 - Committed qmf patches from Bryan KearneyTed Ross2009-06-111-1/+1
| | | | | | | | Additionally updated existing qmf and Qman to be compatible. The magic number for qmf messages has been incremented. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783818 13f79535-47bb-0310-9956-ffa450edef68
* Added a signal handler to cleanly shut down on SIGINT.Ted Ross2009-06-091-42/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782981 13f79535-47bb-0310-9956-ffa450edef68
* Bugfixes in the c++ console API:Ted Ross2009-06-081-13/+17
| | | | | | | | | | | - Connection threads now shut down cleanly - get-query timeouts now work properly - waitForStable now only waits for connected brokers The ping example was improved. It now more cleanly handles connection loss/reconnect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782766 13f79535-47bb-0310-9956-ffa450edef68
* pingJonathan Robie2009-06-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780713 13f79535-47bb-0310-9956-ffa450edef68
* Test for repository replicationJonathan Robie2009-06-011-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780658 13f79535-47bb-0310-9956-ffa450edef68
* Update makefile to reflect renamed READMEGordon Sim2009-06-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780596 13f79535-47bb-0310-9956-ffa450edef68
* Add a suffix so Windows can associate it with a reader programStephen D. Huston2009-05-291-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780088 13f79535-47bb-0310-9956-ffa450edef68
* Grammar/clarificatione edits; change line endings to DOS so Windows users ↵Stephen D. Huston2009-05-291-146/+165
| | | | | | can read them more easily git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780087 13f79535-47bb-0310-9956-ffa450edef68
* Added some Windows-related infoStephen D. Huston2009-05-291-3/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780060 13f79535-47bb-0310-9956-ffa450edef68
* Patch small probs building tests, examples on WindowsStephen D. Huston2009-05-111-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773714 13f79535-47bb-0310-9956-ffa450edef68
* Cmake fixes:Andrew Stitcher2009-05-114-3/+2
| | | | | | | | | | Mirrored recent management code update. Don't build failover_soak without cluster Remove some unnecessary #includes from examples git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773636 13f79535-47bb-0310-9956-ffa450edef68
* Add examples building to cmake buildStephen D. Huston2009-05-089-0/+225
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773091 13f79535-47bb-0310-9956-ffa450edef68
* Adjust lib settings and references to main qpid libsStephen D. Huston2009-05-052-42/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771776 13f79535-47bb-0310-9956-ffa450edef68
* Add Visuql Studio files for qmf-agent example; finishes QPID-1731 additionsStephen D. Huston2009-05-053-0/+434
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771756 13f79535-47bb-0310-9956-ffa450edef68
* Add portability support for QMF agent, thanks to Pete McKinnon - partially ↵Stephen D. Huston2009-05-042-3/+17
| | | | | | fixes QPID-1731 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771457 13f79535-47bb-0310-9956-ffa450edef68
* Add Visual Studio sln/vcproj files to EXTRA_DIST to include them in ↵Stephen D. Huston2009-05-018-25/+28
| | | | | | releases; fixes QPID-1836 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@770833 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1740: further whitespace cleanupGordon Sim2009-03-202-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@756376 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1740: corrected some whitespace issues and esnured the subdirs var is ↵Gordon Sim2009-03-192-2/+2
| | | | | | processed at the right time git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@756148 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1740: Update Makefile generation for examples to not use the ↵Gordon Sim2009-03-172-16/+15
| | | | | | undocumented Echo variable no longer supported in later autotools (from Jan Sarenik) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@755162 13f79535-47bb-0310-9956-ffa450edef68
* Remove duplicate '-l' from generated example MakefilesGordon Sim2009-03-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@753238 13f79535-47bb-0310-9956-ffa450edef68
* Changes to build DLLs instead of static libs on Windows; primarily added ↵Stephen D. Huston2009-03-1233-13/+7325
| | | | | | decorators to exported names. Fixes QPID-1673 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@753014 13f79535-47bb-0310-9956-ffa450edef68
* examples/makedist.mk and examples/*/Makefile.amManuel Teira Paz2009-03-109-3/+11
| | | | | | | | - Avoid the usage of make ?= assignments (not portable). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@752014 13f79535-47bb-0310-9956-ffa450edef68
* Fix copy-paste errors in makefile for newly added exampleGordon Sim2009-02-121-10/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743704 13f79535-47bb-0310-9956-ffa450edef68
* Fix "no virtual destructor" warning.Alan Conway2009-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@742563 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1595 from william -- trade demoCarl C. Trieloff2009-02-095-1/+607
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@742515 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1588 - Fixed bug in asynchronous API operations.Ted Ross2009-01-163-2/+147
| | | | | | | Added a new example to demonstrate async ops. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@735115 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1412 Updates and fixes for the c++ console API:Ted Ross2008-12-234-13/+251
| | | | | | | | | | | | | | | | - Added event support - Converted raw pointers to shared_ptrs in references to Values. This fixes a memory leak in the original code. - Added wrappers to make value access more convenient. - Added timeout handling for synchronous operations. Timeout values are configurable. - Fixed a bug in getObjects whereby waitForStable was not called and the operation could fail if called too early. - Added examples "printevents" and "ping" to illustrate the usage of different aspects of the API. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@729075 13f79535-47bb-0310-9956-ffa450edef68
* Added a missing ASF licence headerTed Ross2008-12-191-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@728139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1412 - c++ implementation of the QMF client APITed Ross2008-12-194-2/+172
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@728132 13f79535-47bb-0310-9956-ffa450edef68
* Added a general ConnectionSettings alternative for agent initialization.Ted Ross2008-12-181-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727726 13f79535-47bb-0310-9956-ffa450edef68
* Added SFL license headers.Rajith Muditha Attapattu2008-12-166-0/+118
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@726954 13f79535-47bb-0310-9956-ffa450edef68
* Added ASF license to makefilesGordon Sim2008-12-157-0/+126
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@726710 13f79535-47bb-0310-9956-ffa450edef68
* Removed a cast to asynch sessions for message transfer in client.Jonathan Robie2008-12-081-3/+1
| | | | | | | It was not needed, and disagreed with the tutorial. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@724442 13f79535-47bb-0310-9956-ffa450edef68
* Test commit. Two more whitespace characters in a README.Jonathan Robie2008-11-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@713813 13f79535-47bb-0310-9956-ffa450edef68
* Minor cleanup edits to examples (from jrobie@redhat.com)Gordon Sim2008-11-1310-21/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@713785 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1445 patch from JonathanCarl C. Trieloff2008-11-1012-87/+230
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@712699 13f79535-47bb-0310-9956-ffa450edef68
* Remove wrappers for 'transparent' failover; this will be better handled ↵Gordon Sim2008-11-103-249/+1
| | | | | | through implementation of session resume within SessionImpl. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@712653 13f79535-47bb-0310-9956-ffa450edef68
* * Added some doxygen comments for FailoverManagerGordon Sim2008-11-072-52/+37
| | | | | | | | * Added means for application to alter the order in which urls are tried (or indeed the list of urls to try) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@712127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1437 - Made example better able to demonstrate proper shutdown by ↵Ted Ross2008-11-061-2/+14
| | | | | | adding a signal handler git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711933 13f79535-47bb-0310-9956-ffa450edef68
* * fix bug causing last message to occasionally be lost on replayGordon Sim2008-11-061-2/+11
| | | | | | | | | * make presence of gaps an error condition in the resuming_receiver example * add ability to apply functor to replay buffer git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711903 13f79535-47bb-0310-9956-ffa450edef68
* Adding a couple of utilities (don't alter any existing functionality) that ↵Gordon Sim2008-11-043-6/+218
| | | | | | | | | | are useful in applications handling failover. Added example of their use that I've been using in testing. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1348 - Dynamic binding for federation. Parameterized exchange names ↵Ted Ross2008-10-246-25/+31
| | | | | | for CPP examples git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707515 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1382 from Mick Goulish: Improvement to Client-Side Cluster Failover codeAlan Conway2008-10-222-2/+6
| | | | | | | | | Also: Fix missing DispatchHandle.h include in sys/PollableQueue.h Added ignore properties for failover example binaries & Makefile. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707065 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1367 Mick Goulish: improvements to client-side failover.Alan Conway2008-10-173-169/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@705668 13f79535-47bb-0310-9956-ffa450edef68