}
private byte readDeploymentSetResult(final Map<UUID, DeploymentSetPlanResult>setResults) throws IOException {
UUID setId = unmarshal(unmarshaller, UUID.class);
DeploymentSetPlan setPlan = findDeploymentSet(setId); // will throw ISE if not found
// A valid deployment set plan will have at least one action
byte nextHeader = unmarshaller.readByte();
expectHeader(nextHeader, DomainClientProtocol.RETURN_DEPLOYMENT_ACTION_ID);