}
private WaveletEntry parseConvWaveletData(
@Nullable ConnectResponse connectResponse, WaveletDiffSnapshot diffSnapshot,
DocumentFactory<?> docFactory, StringMap<DocOp> diffMap) {
WaveSerializer waveSerializer = new WaveSerializer(new ClientMessageSerializer(), docFactory);
WaveletDataImpl wavelet;
try {
StringMap<DocOp> diffOps = waveSerializer.deserializeDocumentsDiffs(diffSnapshot);
diffMap.putAll(diffOps);
wavelet = waveSerializer.createWaveletData(
IdHack.convWaveletNameFromConvObjectId(convObjectId), diffSnapshot);
} catch (MessageException e) {
throw new RuntimeException(e);
}
return makeEntry(convObjectId, connectResponse, wavelet);