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.SocketFutureexception, 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, setResultcancel, from, futureWait, get, get, getOrThrow, isCancelled, isDone, maybeInvokeCallbacks, onError, onSuccesspublic SocketFuture(SocketFactory socketFactory) throws IOException
IOExceptionprotected void futureWait(long timeout) throws InterruptedException
futureWait in class SmackFuture<Socket,IOException>InterruptedExceptionpublic void connectAsync(SocketAddress socketAddress, int timeout)