Class MucEnterConfiguration.Builder

    • Method Detail

      • timeoutAfter

        public MucEnterConfiguration.Builder timeoutAfter​(long timeout)
        Set the timeout used when joining the MUC room.
        Parameters:
        timeout - the timeout to use when joining.
        Returns:
        a reference to this builder.
      • requestMaxCharsHistory

        public MucEnterConfiguration.Builder requestMaxCharsHistory​(int maxChars)
        Sets the total number of characters to receive in the history.
        Parameters:
        maxChars - the total number of characters to receive in the history.
        Returns:
        a reference to this builder.
      • requestMaxStanzasHistory

        public MucEnterConfiguration.Builder requestMaxStanzasHistory​(int maxStanzas)
        Sets the total number of messages to receive in the history.
        Parameters:
        maxStanzas - the total number of messages to receive in the history.
        Returns:
        a reference to this builder.
      • requestHistorySince

        public MucEnterConfiguration.Builder requestHistorySince​(int seconds)
        Sets the number of seconds to use to filter the messages received during that time. In other words, only the messages received in the last "X" seconds will be included in the history.
        Parameters:
        seconds - the number of seconds to use to filter the messages received during that time.
        Returns:
        a reference to this builder.
      • requestHistorySince

        public MucEnterConfiguration.Builder requestHistorySince​(Date since)
        Sets the since date to use to filter the messages received during that time. In other words, only the messages received since the datetime specified will be included in the history.
        Parameters:
        since - the since date to use to filter the messages received during that time.
        Returns:
        a reference to this builder.