private static ProfileServerSync deepCopy(ProfileServerSync source) { if (source == null) { return null; } return new ProfileServerSync(source.getResponseStatus()); }
private void encode(GrowingByteBuffer buf, ProfileServerSync profileSync) { buildExtensionHeader(buf, PROFILE_EXTENSION_ID, NOTHING, (profileSync.getResponseStatus() == SyncResponseStatus.RESYNC ? RESYNC : NOTHING), 0); }
private static ProfileSyncResponse convert(ProfileServerSync profileSyncResponse) { if (profileSyncResponse == null) { return null; } return new ProfileSyncResponse(convert(profileSyncResponse.getResponseStatus())); }
ServerSync response = getResponse(); if (response.getProfileSync() != null && response.getProfileSync().getResponseStatus() != SyncResponseStatus.NO_DELTA) { return true;