<commit_before>/*
 * Copyright (C) 2010-2011, FuseSource Corp.  All rights reserved
 *
 *    http://fusesource.com
 *
 * The software in this package is published under the terms of the
 * CDDL license, a copy of which has been included with this distribution
 * in the license.txt file
 */

package org.fusesource.fabric.apollo.amqp.protocol.interceptors.link

import org.fusesource.fabric.apollo.amqp.codec.interfaces.AMQPFrame
import collection.mutable.Queue
import org.fusesource.fabric.apollo.amqp.codec.types.Flow
import org.fusesource.fabric.apollo.amqp.protocol.interfaces.{PerformativeInterceptor, Interceptor}

/**
 *
 */

class LinkFlowControlInterceptor extends PerformativeInterceptor[Flow] {

  var link_credit = Option(0L)
  var delivery_count = 0L
  var available = 0L





}<commit_msg>Just use a boolean to indicate whether flow control is kicking in or not<commit_after>/*
 * Copyright (C) 2010-2011, FuseSource Corp.  All rights reserved
 *
 *    http://fusesource.com
 *
 * The software in this package is published under the terms of the
 * CDDL license, a copy of which has been included with this distribution
 * in the license.txt file
 */

package org.fusesource.fabric.apollo.amqp.protocol.interceptors.link

import org.fusesource.fabric.apollo.amqp.codec.interfaces.AMQPFrame
import collection.mutable.Queue
import org.fusesource.fabric.apollo.amqp.codec.types.Flow
import org.fusesource.fabric.apollo.amqp.protocol.interfaces.{PerformativeInterceptor, Interceptor}

/**
 *
 */

class LinkFlowControlInterceptor extends PerformativeInterceptor[Flow] {


}
{'fraction_non_alphanumeric': 0.0890713834491472, 'fraction_numerical': 0.012002526847757423, 'mean_word_length': 4.538461538461538, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4051184', 'n_tokens_mistral': 515, 'n_tokens_neox': 476, 'n_words': 128}