public class DefaultPduAsyncResponse extends Object implements PduAsyncResponse
| Constructor and Description |
|---|
DefaultPduAsyncResponse(com.cloudhopper.commons.util.windowing.WindowFuture<Integer,PduRequest,PduResponse> future) |
| Modifier and Type | Method and Description |
|---|---|
long |
getEstimatedProcessingTime()
Gets an estimate of the processing time required by the remote endpoint
to process this request.
|
PduRequest |
getRequest()
Gets the original request associated with the response.
|
PduResponse |
getResponse()
Gets the response from the remote endpoint.
|
long |
getResponseTime()
Gets the amount of time required for the remote endpoint to acknowledge
the request with a response.
|
int |
getWindowSize()
Gets the size of the window after this request was added.
|
long |
getWindowWaitTime()
Gets the amount of time required to accept the request into the session
send window (for a free slot to open up).
|
String |
toString() |
public DefaultPduAsyncResponse(com.cloudhopper.commons.util.windowing.WindowFuture<Integer,PduRequest,PduResponse> future)
public PduRequest getRequest()
PduAsyncResponsegetRequest in interface PduAsyncResponsepublic PduResponse getResponse()
PduAsyncResponsegetResponse in interface PduAsyncResponsepublic int getWindowSize()
PduAsyncResponsegetWindowSize in interface PduAsyncResponsepublic long getWindowWaitTime()
PduAsyncResponsegetWindowWaitTime in interface PduAsyncResponsepublic long getResponseTime()
PduAsyncResponsegetResponseTime in interface PduAsyncResponsepublic long getEstimatedProcessingTime()
PduAsyncResponsegetEstimatedProcessingTime in interface PduAsyncResponseCopyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.