# File lib/core/connection.rb, line 252 def each_link return enum_for(:each_link) unless block_given? l = Cproton.pn_link_head(@impl, 0); while l yield Link.wrap(l) l = Cproton.pn_link_next(l, 0) end self end