Module Qpid::Proton::Util::SWIGClassHelper
In: lib/util/wrapper.rb

@private Class methods to help wrapper classes define forwarding methods to proton-C functions

The extending class must define PROTON_METHOD_PREFIX, the functions here make it easy to define ruby methods to forward calls to C functions.

Methods

Constants

RBCTX = self.hash.to_i

Public Instance methods

Retrieves the wrapper object with the supplied Proton struct.

@param impl [Object] The wrapper for the Proton struct. @param attachment_method [Symbol] The Proton attachment method.

@return [Object] The Ruby wrapper object.

Define ruby method name to forward arguments to CProton.PROTON_METHOD_PREFIX_+pn_name+(@impl, …)

@private Stores the given object for later retrieval.

@param object [Object] The object. @param attachment_method [Symbol] The Proton attachment method.

[Validate]