T - type of request.R - type of response.public class PlcRequestContainer<T extends InternalPlcRequest,R extends InternalPlcResponse> extends Object implements PlcProtocolMessage
| Constructor and Description |
|---|
PlcRequestContainer(T request,
CompletableFuture<R> responseFuture) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
PlcProtocolMessage |
getParent()
PlcRequestContainer objects don't have parents. |
T |
getRequest() |
CompletableFuture<R> |
getResponseFuture() |
int |
hashCode() |
String |
toString() |
public PlcRequestContainer(T request, CompletableFuture<R> responseFuture)
public T getRequest()
public CompletableFuture<R> getResponseFuture()
public PlcProtocolMessage getParent()
PlcRequestContainer objects don't have parents.getParent in interface PlcProtocolMessageCopyright © 2017–2018 The Apache Software Foundation. All rights reserved.