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
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Constructor Summary
ConstructorsConstructorDescriptionResponseFuture(Callable<V> callable, Date time, int deviceId, long connectionId, int connectionLogEntryId) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddone()getResponse(long timeout, TimeUnit unit) voidMethods inherited from class java.util.concurrent.FutureTask
cancel, exceptionNow, get, get, isCancelled, isDone, resultNow, run, runAndReset, setException, state, toString
-
Constructor Details
-
ResponseFuture
-
-
Method Details
-
done
protected void done()- Overrides:
donein classFutureTask<V>
-
set
- Overrides:
setin classFutureTask<V>
-
getResponse
-
getResponse
public RadiusPacket getResponse(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
-