public abstract static class SmackFuture.InternalSmackFuture<V> extends SmackFuture<V> implements StanzaListener, ExceptionCallback
SmackFuture.InternalSmackFuture<V>, SmackFuture.SimpleInternalSmackFuture<V>
exception
Constructor and Description |
---|
InternalSmackFuture() |
Modifier and Type | Method and Description |
---|---|
void |
processException(java.lang.Exception exception) |
void |
processStanza(Stanza stanza)
Wrapper method for
SmackFuture.handleStanza(Stanza) . |
cancel, get, get, handleStanza, isCancelled, isDone, isNonFatalException, maybeInvokeCallbacks, onError, onSuccess, onSuccessOrError, setResult
public InternalSmackFuture()
public final void processException(java.lang.Exception exception)
processException
in interface ExceptionCallback
public final void processStanza(Stanza stanza) throws SmackException.NotConnectedException, java.lang.InterruptedException
SmackFuture.handleStanza(Stanza)
. Note that this method is synchronized
.processStanza
in interface StanzaListener
stanza
- the stanza(/packet) to process.SmackException.NotConnectedException
java.lang.InterruptedException