public class ChainResponse<R extends Response> extends Response implements SerializableCR
id| Constructor and Description |
|---|
ChainResponse() |
ChainResponse(UUID id) |
ChainResponse(UUID id,
boolean success) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addResponse(R response) |
void |
deserialize()
Deserialize child commands/responses within the object
|
boolean |
equals(Object obj) |
CrList<R> |
getResponseList() |
List<R> |
getResponses() |
int |
hashCode() |
void |
serialize()
Serialize child commands/responses within the object
|
void |
setResponseList(CrList<R> responses) |
void |
setResponses(List<R> responses) |
String |
toString() |
getType, isSuccess, setSuccess, setTypegetId, setIdpublic ChainResponse()
public ChainResponse(UUID id)
public ChainResponse(UUID id, boolean success)
public void serialize()
SerializableCRserialize in interface SerializableCRpublic void deserialize()
SerializableCRdeserialize in interface SerializableCRpublic boolean addResponse(R response)
Copyright © 2017. All rights reserved.