responses.add(new EndpointAttachResponse( response.getRequestId(), response.getEndpointKeyHash(), convert(response .getResult())));
state.resetEventSeqNumber(); for (EndpointAttachResponse response : attachResponses) { if (response.getResult() != SyncStatus.SUCCESS) { LOG.debug("[{}][{}] Skipped unsuccessful attach response [{}]", endpointKey, actorKey, response.getRequestId());
buf.putShort((short) userSync.getEndpointAttachResponses().size()); for (EndpointAttachResponse response : userSync.getEndpointAttachResponses()) { buf.put(response.getResult() == SyncStatus.SUCCESS ? SUCCESS : FAILURE); if (response.getEndpointKeyHash() != null) { buf.put(USER_SYNC_ENDPOINT_ID_OPTION);