Class SmackFuture.InternalProcessStanzaSmackFuture<V,​E extends java.lang.Exception>

    • Constructor Detail

      • InternalProcessStanzaSmackFuture

        public InternalProcessStanzaSmackFuture()
    • Method Detail

      • isNonFatalException

        protected abstract boolean isNonFatalException​(E exception)
        This method checks if the given exception is not fatal. If this method returns false, then the future will automatically set the given exception as failure reason and notify potential waiting threads.
        Parameters:
        exception - the exception to check.
        Returns:
        true if the exception is not fatal, false otherwise.
      • handleStanza

        protected abstract void handleStanza​(Stanza stanza)