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