diff options
author | Alan Conway <aconway@apache.org> | 2009-04-21 14:26:54 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-04-21 14:26:54 +0000 |
commit | 7c9078c94ef7cae6b1b79e41c738f33938cbaea4 (patch) | |
tree | b9995776c63540ab613e88d616b73027cefefc25 /qpid/cpp/rubygen | |
parent | fc5616460fc2c108e9730844e464a459dce36843 (diff) | |
download | qpid-python-7c9078c94ef7cae6b1b79e41c738f33938cbaea4.tar.gz |
File missed in previous commit.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@767158 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/rubygen')
-rw-r--r-- | qpid/cpp/rubygen/framing.0-10/Session.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/qpid/cpp/rubygen/framing.0-10/Session.rb b/qpid/cpp/rubygen/framing.0-10/Session.rb index e495f8adb7..5abed07150 100644 --- a/qpid/cpp/rubygen/framing.0-10/Session.rb +++ b/qpid/cpp/rubygen/framing.0-10/Session.rb @@ -77,9 +77,9 @@ end class ContentField # For extra content parameters def cppname() "content" end - def signature() "const MethodContent& content" end - def sig_default() signature+"="+"DefaultContent(std::string())" end - def unpack() "p[arg::content|DefaultContent(std::string())]"; end + def signature() "const Message& content" end + def sig_default() signature+"="+"Message(std::string())" end + def unpack() "p[arg::content|Message(std::string())]"; end def doc() "Message content"; end end @@ -161,6 +161,8 @@ class SessionNoKeywordGen < CppGen include @classname include "qpid/framing/all_method_bodies.h" include "qpid/client/SessionImpl.h" + include "qpid/client/MessageImpl.h" + include "qpid/client/PrivateImplPrivate.h" namespace(@namespace) { genl "using namespace framing;" session_methods(sync_default).each { |m| @@ -172,7 +174,7 @@ class SessionNoKeywordGen < CppGen genl "#{m.body_name} body(#{args});"; genl "body.setSync(sync);" sendargs="body" - sendargs << ", content" if m.content + sendargs << ", *privateImplGetPtr(content)" if m.content async_retval="#{m.return_type(true)}(impl->send(#{sendargs}), impl)" if @async then genl "return #{async_retval};" |