diff options
Diffstat (limited to 'qpid/cpp/rubygen/amqpgen.rb')
| -rwxr-xr-x | qpid/cpp/rubygen/amqpgen.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qpid/cpp/rubygen/amqpgen.rb b/qpid/cpp/rubygen/amqpgen.rb index f47b8e2f9f..21bc05c651 100755 --- a/qpid/cpp/rubygen/amqpgen.rb +++ b/qpid/cpp/rubygen/amqpgen.rb @@ -151,7 +151,7 @@ end class AmqpStruct < AmqpElement def initialize(xml, parent) super; end - amqp_attr_reader :size, :type + amqp_attr_reader :size, :type, :pack amqp_child_reader :field def result?() parent.xml.name == "result"; end @@ -181,6 +181,10 @@ class AmqpClass < AmqpElement @methods_on ||= { } @methods_on[chassis] ||= methods_.select { |m| m.on_chassis? chassis } end + + def l4?() + !["connection", "session", "execution"].include?(name) + end end |
