Class Qpid::Proton::Codec::Mapping
In: lib/codec/mapping.rb
Parent: Object

Maps between Proton types and their Ruby native language counterparts.

@private

Methods

[]   for_class   for_code   get   new   put   to_s  

Attributes

code  [R] 
get_method  [R] 
put_method  [R] 

Public Class methods

Convert x to a Mapping

Creates a new mapping.

Arguments

  • code - the AMQP code for this type
  • name - the AMQP name for this type
  • klasses - native Ruby classes that are mapped to this AMQP type
  • getter - overrides the get method for the type

Public Instance methods

[Validate]