Interface LinkCreditState

All Known Implementing Classes:
ProtonLinkCreditState

public interface LinkCreditState
State object holding information about the current link credit
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The currently available credit for this link
    int
    The current delivery count value for this link
    boolean
     
    boolean
     
  • Method Details

    • getCredit

      int getCredit()
      The currently available credit for this link
      Returns:
      the current amount of link credit
    • getDeliveryCount

      int getDeliveryCount()
      The current delivery count value for this link
      Returns:
      the current delivery count value for the link.
    • isDrain

      boolean isDrain()
      Returns:
      true if the link drain is active.
    • isEcho

      boolean isEcho()
      Returns:
      true if the link has been requested to echo its state.