summaryrefslogtreecommitdiff
path: root/cpp/rubygen/amqpgen.rb
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-03-03 14:49:06 +0000
committerGordon Sim <gsim@apache.org>2008-03-03 14:49:06 +0000
commitb4dac41573e33e1a04a2b7b8c9a35f5e72b662bc (patch)
tree15e25a2dc7b42f3788f9dccdd7e632dcf8c346d2 /cpp/rubygen/amqpgen.rb
parent928699508993a5ccc59254027773281883d1e973 (diff)
downloadqpid-python-b4dac41573e33e1a04a2b7b8c9a35f5e72b662bc.tar.gz
A further step to final 0-10 spec.
The extra.xml fragment adds class defs for connection in session that are in line with latest spec but use old schema. The preview codepath (99-0) remains unaltered. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633108 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/rubygen/amqpgen.rb')
-rwxr-xr-xcpp/rubygen/amqpgen.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/rubygen/amqpgen.rb b/cpp/rubygen/amqpgen.rb
index 67b4b1c73c..9e4bb7c22c 100755
--- a/cpp/rubygen/amqpgen.rb
+++ b/cpp/rubygen/amqpgen.rb
@@ -343,6 +343,10 @@ class AmqpClass < AmqpElement
!["connection", "session", "execution"].include?(name)
end
+ def control?()
+ ["connection010", "session010"].include?(name)
+ end
+
def actions() controls+commands; end
end