summaryrefslogtreecommitdiff
path: root/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 496678 via svnmerge from Alan Conway2007-03-131-2/+2
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r496678 | kpvdr | 2007-01-16 08:09:50 -0500 (Tue, 16 Jan 2007) | 1 line Fixed QPID-296 Header guards may not be compliant with C++ standard ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@517855 13f79535-47bb-0310-9956-ffa450edef68
* * gentools/templ.cpp/*Proxy*, CppGenerator.java: Changes to ProxyAlan Conway2007-02-131-23/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | classes to make them directly usable as an API for low-level AMQP access. - Proxies hold reference to a ChannelAdapter not just an output handler. - Removed MethodContext parameter, makes no sense on requester end. - Return RequestId from request methods so caller can correlate incoming responses. - Add RequestId parameter to response methods so caller can provide correlation for outgoing responses. - No longer inherit from *Operations classes as the signatures no longer match. Proxy is for caller (client/requester) and Operations is for callee (server/responder) * cpp/lib/client/ClientChannel.h: Channel provides a raw proxy to the broker. Normal users will still use the Channel API to deal with the broker, but advanced users (incl ourselves!) can use the raw API to directly send and receive any AMQP message. * cpp/lib/broker/BrokerChannel,BrokerAdapter: Refactor for new proxies. broker::Channel is also a ClientProxy * Sundry files: - Pass ProtcolVersion by value, it is only two bytes. - Misc. const correctness fixes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506823 13f79535-47bb-0310-9956-ffa450edef68
* * Added ClientAdapter - client side ChannelAdapter. Updated client side.Alan Conway2007-01-291-2/+2
| | | | | | | | | | | | | | | | * Moved ChannelAdapter initialization from ctor to init(), updated broker side. * Improved various exception messages with boost::format messages. * Removed unnecssary virtual inheritance. * Widespread: fixed incorrect non-const ProtocolVersion& parameters. * Client API: pass channels by reference, not pointer. * codegen: - MethodBodyClass.h.templ: Added CLASS_ID, METHOD_ID and isA() template. - Various: fixed non-const ProtocolVersion& parameters. * cpp/bootstrap: Allow config arguments with -build. * cpp/gen/Makefile.am: Merged codegen fixes from trunk. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501087 13f79535-47bb-0310-9956-ffa450edef68
* * MethodContext: added invocation context for methods. Can carry RequestIdAlan Conway2007-01-181-2/+1
| | | | | | | | | as well as ChannelId. * gentools: AMQP_Clinet|ServerOperations and *Body::invoke(): pass MethodContex instead of channel ID. * All *HandlerImpl classe: use MethodContext instead of channel ID. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497511 13f79535-47bb-0310-9956-ffa450edef68
* Merged changes from trunk to fix C++ client version 0-0 bug. Changes to ↵Kim van der Riet2007-01-051-0/+1
| | | | | | cpp/lib/common/Makefile.am, so bootstrap, configure required to remake Makefiels. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@493020 13f79535-47bb-0310-9956-ffa450edef68
* Multi version support part 2.Carl C. Trieloff2006-12-201-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489214 13f79535-47bb-0310-9956-ffa450edef68
* Revised generation of includes inline with latst build changes.Gordon Sim2006-12-011-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481221 13f79535-47bb-0310-9956-ffa450edef68
* Updates and bugfixesKim van der Riet2006-11-211-25/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@477844 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to the generated C++ code and templatesKim van der Riet2006-11-141-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@474866 13f79535-47bb-0310-9956-ffa450edef68
* update Apache licenses to the current versionStephen Vinoski2006-11-101-13/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473568 13f79535-47bb-0310-9956-ffa450edef68
* Latest version of gentools. Java AmqpConstants class added which allows in ↵Kim van der Riet2006-11-101-8/+15
| | | | | | | | changes in the <constant> declarations in spec from version to version. C++ AMQP_Constants.h file still incomplete. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473472 13f79535-47bb-0310-9956-ffa450edef68
* Gentools C++ generator generation for AMQP_ClientOperations.h and ↵Kim van der Riet2006-11-021-18/+19
| | | | | | AMQP_ServerOperations.h now complete, but untested. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470447 13f79535-47bb-0310-9956-ffa450edef68
* Updated code generator to produce ServerOperations class. Other minor fixes ↵Kim van der Riet2006-11-011-6/+17
| | | | | | in generator. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469929 13f79535-47bb-0310-9956-ffa450edef68
* Some code tidy-up and debugging; first C++ templates and implementation of ↵Kim van der Riet2006-10-251-0/+53
most of C++ MethodBody class generation methods. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@467750 13f79535-47bb-0310-9956-ffa450edef68