Class StreamManagement.Enable

  • All Implemented Interfaces:
    StreamElement
    Enclosing class:
    StreamManagement

    public static final class StreamManagement.Enable
    extends Object
    implements StreamElement
    The implementation of the <enable/> element in the urn:xmpp:sm:3 namespace.
    • Constructor Detail

      • Enable

        public Enable()
      • Enable

        public Enable​(Boolean resume)
        Parameters:
        resume - To request that the stream will be resumable.
      • Enable

        public Enable​(Boolean resume,
                      Integer max)
        Parameters:
        resume - To request that the stream will be resumable.
        max - The client's preferred maximum resumption time in seconds.
    • Method Detail

      • isResume

        public final boolean isResume()
      • getMax

        public final Integer getMax()