Class StreamManagement.HandledCountTooHigh

  • All Implemented Interfaces:
    StreamElement
    Enclosing class:
    StreamManagement

    public static final class StreamManagement.HandledCountTooHigh
    extends Object
    Indicates that an entity has acknowledged more stanzas than it was sent.

    When a remote entity acknowledges that it has handled a number of stanzas that is higher than the amount of stanzas that it was sent (by sending an 'h' value that is too high), the local entity SHOULD generate an undefined-condition stream error that includes a <handled-count-too-high/> element.

    • Constructor Detail

      • HandledCountTooHigh

        public HandledCountTooHigh​(long h,
                                   long sendCount)
    • Method Detail

      • getSendCount

        public final Long getSendCount()
        The number of stanzas that were sent.
        Returns:
        The send count.