diff options
| author | Kim van der Riet <kpvdr@apache.org> | 2007-01-04 21:30:39 +0000 |
|---|---|---|
| committer | Kim van der Riet <kpvdr@apache.org> | 2007-01-04 21:30:39 +0000 |
| commit | 077caff939a3647e7538c309863a012c92f1c767 (patch) | |
| tree | 0be71c5c4fbf83c289cb7db19e05fce116f25a5b /gentools/templ.java/MethodBodyClass.tmpl | |
| parent | 9fae14cc56a6608cce8f398319a76ff8b7cb48be (diff) | |
| download | qpid-python-077caff939a3647e7538c309863a012c92f1c767.tar.gz | |
Fixed C++ client sending protocol version 0-0 over the wire. Minor fixes and tidy-up in related code.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@492756 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'gentools/templ.java/MethodBodyClass.tmpl')
| -rw-r--r-- | gentools/templ.java/MethodBodyClass.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gentools/templ.java/MethodBodyClass.tmpl b/gentools/templ.java/MethodBodyClass.tmpl index ad1ce36006..04ce639f23 100644 --- a/gentools/templ.java/MethodBodyClass.tmpl +++ b/gentools/templ.java/MethodBodyClass.tmpl @@ -84,7 +84,7 @@ ${METHOD_ID_INIT} return buf.toString(); } - public static AMQFrame createAMQFrame(int channelId, byte major, byte minor + public static AMQFrame createAMQFrame(int _channelId, byte major, byte minor %{FLIST} ${mb_field_parameter_list} ) { @@ -92,7 +92,7 @@ ${METHOD_ID_INIT} %{FLIST} ${mb_field_body_initialize} AMQFrame frame = new AMQFrame(); - frame.channel = channelId; + frame.channel = _channelId; frame.bodyFrame = body; return frame; } |
