Package org.apache.activemq.transport
Class FutureResponse
- java.lang.Object
-
- org.apache.activemq.transport.FutureResponse
-
public class FutureResponse extends Object
-
-
Constructor Summary
Constructors Constructor Description FutureResponse(ResponseCallback responseCallback)
FutureResponse(ResponseCallback responseCallback, TransportFilter transportFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
getResult()
Response
getResult(int timeout)
void
set(Response result)
-
-
-
Constructor Detail
-
FutureResponse
public FutureResponse(ResponseCallback responseCallback)
-
FutureResponse
public FutureResponse(ResponseCallback responseCallback, TransportFilter transportFilter)
-
-
Method Detail
-
getResult
public Response getResult() throws IOException
- Throws:
IOException
-
getResult
public Response getResult(int timeout) throws IOException
- Throws:
IOException
-
set
public void set(Response result)
-
-