Package org.hobbit.core.rabbit
Class RabbitRpcClient.RabbitRpcRequest
- java.lang.Object
-
- com.google.common.util.concurrent.AbstractFuture<byte[]>
-
- org.hobbit.core.rabbit.RabbitRpcClient.RabbitRpcRequest
-
- All Implemented Interfaces:
com.google.common.util.concurrent.ListenableFuture<byte[]>,Future<byte[]>
- Enclosing class:
- RabbitRpcClient
protected static class RabbitRpcClient.RabbitRpcRequest extends com.google.common.util.concurrent.AbstractFuture<byte[]> implements Future<byte[]>
Simple extension of theAbstractFutureclass that waits for the response which is set by thesetResponse(byte[] response).- Author:
- Michael Röder (roeder@informatik.uni-leipzig.de)
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRabbitRpcRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetResponse(byte[] response)Calls the internal set method of theAbstractFutureclass.-
Methods inherited from class com.google.common.util.concurrent.AbstractFuture
addListener, cancel, get, get, interruptTask, isCancelled, isDone, set, setException, wasInterrupted
-
-