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
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, get, get, isCancelled, isDone, run, runAndReset, setException, 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
-