proton._reactor.EventInjector:
Can be added to a reactor to allow events to be triggered by an
external thread but handled on the event thread associated with the
reactor.
proton._wrapper.Wrapper:
Wrapper for python objects that need to be stored in event contexts and be retrived again from them
Quick note on how this works:
The actual *python* object has only 3 attributes which redirect into the wrapped C objects:
_impl The wrapped C object itself
_attrs This is a special pn_record_t holding a PYCTX which is a python dict
every attribute in the python object is actually looked up here
_record This is the C record itself (so actually identical to _attrs really but
a different python type
basestring:
Type basestring cannot be instantiated; it is the base for str and
unicode.