# File jabber4r/protocol.rb, line 713
      def set_thread(thread)
        @thread = thread
        self
      end