public static class SmackFuture.SocketFuture extends SmackFuture.InternalSmackFuture<Socket,IOException>
SmackFuture.InternalProcessStanzaSmackFuture<V,E extends Exception>, SmackFuture.InternalSmackFuture<V,E extends Exception>, SmackFuture.SimpleInternalProcessStanzaSmackFuture<V,E extends Exception>, SmackFuture.SocketFuture
exception, result
Constructor and Description |
---|
SocketFuture(SocketFactory socketFactory) |
Modifier and Type | Method and Description |
---|---|
void |
connectAsync(SocketAddress socketAddress,
int timeout) |
protected void |
futureWait(long timeout) |
setException, setResult
cancel, from, futureWait, get, get, getOrThrow, isCancelled, isDone, maybeInvokeCallbacks, onError, onSuccess
public SocketFuture(SocketFactory socketFactory) throws IOException
IOException
protected void futureWait(long timeout) throws InterruptedException
futureWait
in class SmackFuture<Socket,IOException>
InterruptedException
public void connectAsync(SocketAddress socketAddress, int timeout)