Package org.jivesoftware.smack
Class SmackFuture.SocketFuture
java.lang.Object
org.jivesoftware.smack.SmackFuture<V,E>
org.jivesoftware.smack.SmackFuture.InternalSmackFuture<Socket,IOException>
org.jivesoftware.smack.SmackFuture.SocketFuture
- All Implemented Interfaces:
Future<Socket>
,CallbackRecipient<Socket,
IOException>
- Enclosing class:
- SmackFuture<V,
E extends Exception>
public static class SmackFuture.SocketFuture
extends SmackFuture.InternalSmackFuture<Socket,IOException>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jivesoftware.smack.SmackFuture
SmackFuture.InternalProcessStanzaSmackFuture<V,
E extends Exception>, SmackFuture.InternalSmackFuture<V, E extends Exception>, SmackFuture.SimpleInternalProcessStanzaSmackFuture<V, E extends Exception>, SmackFuture.SocketFuture -
Field Summary
Fields inherited from class org.jivesoftware.smack.SmackFuture
exception, result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
connectAsync
(SocketAddress socketAddress, int timeout) protected void
futureWait
(long timeout) Methods inherited from class org.jivesoftware.smack.SmackFuture.InternalSmackFuture
setException, setResult
Methods inherited from class org.jivesoftware.smack.SmackFuture
await, await, cancel, from, futureWait, get, get, getExceptionIfAvailable, getIfAvailable, getOrThrow, isCancelled, isDone, maybeInvokeCallbacks, onCompletion, onError, onSuccess, wasSuccessful
-
Constructor Details
-
SocketFuture
- Throws:
IOException
-
-
Method Details
-
futureWait
- Overrides:
futureWait
in classSmackFuture<Socket,
IOException> - Throws:
InterruptedException
-
connectAsync
-