public static final class RadiusClient.ResponseFuture<V>
extends java.util.concurrent.FutureTask<V>
Constructor and Description |
---|
ResponseFuture(java.util.concurrent.Callable<V> callable,
java.util.Date time,
int deviceId,
long connectionId,
int connectionLogEntryId) |
Modifier and Type | Method and Description |
---|---|
protected void |
done() |
RadiusPacket |
getResponse() |
RadiusPacket |
getResponse(long timeout,
java.util.concurrent.TimeUnit unit) |
void |
set(V v) |
public ResponseFuture(java.util.concurrent.Callable<V> callable, java.util.Date time, int deviceId, long connectionId, int connectionLogEntryId)
protected void done()
done
in class java.util.concurrent.FutureTask<V>
public RadiusPacket getResponse() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public RadiusPacket getResponse(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException