Class RadiusClient.ResponseFuture<V>
java.lang.Object
java.util.concurrent.FutureTask<V>
ru.bitel.bgbilling.kernel.network.radius.RadiusClient.ResponseFuture<V>
- All Implemented Interfaces:
Runnable
,Future<V>
,RunnableFuture<V>
- Enclosing class:
- RadiusClient
-
Constructor Summary
ConstructorDescriptionResponseFuture
(Callable<V> callable, Date time, int deviceId, long connectionId, int connectionLogEntryId) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
done()
getResponse
(long timeout, TimeUnit unit) void
Methods inherited from class java.util.concurrent.FutureTask
cancel, get, get, isCancelled, isDone, run, runAndReset, setException, toString
-
Constructor Details
-
ResponseFuture
-
-
Method Details
-
done
protected void done()- Overrides:
done
in classFutureTask<V>
-
set
- Overrides:
set
in classFutureTask<V>
-
getResponse
-
getResponse
public RadiusPacket getResponse(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
-