# File lib/core/link.rb, line 250
    def next(state_mask)
      return Link.wrap(Cproton.pn_link_next(@impl, state_mask))
    end