Class AbstractStreamManager

    • Method Detail

      • isEnabled

        public final boolean isEnabled()
        Description copied from interface: ExtensionProtocol
        Indicates whether this protocol is enabled.
        Specified by:
        isEnabled in interface ExtensionProtocol
        Returns:
        true, if enabled; false if disabled.
      • setEnabled

        public final void setEnabled​(boolean enabled)
      • getRequestStrategy

        public final Predicate<Stanza> getRequestStrategy()
        Gets the request strategy.
        Returns:
        The request strategy.
        See Also:
        RequestStrategies
      • setRequestStrategy

        public final void setRequestStrategy​(Predicate<Stanza> requestStrategy)
        Sets the request strategy.
        Parameters:
        requestStrategy - The request strategy.
        See Also:
        RequestStrategies
      • incrementInboundStanzaCount

        public void incrementInboundStanzaCount()
        Increments the inbound stanza count.
      • markUnacknowledged

        public void markUnacknowledged​(Stanza stanza)
        Marks a stanza as unacknowledged.
        Parameters:
        stanza - The stanza.