Package org.waveprotocol.wave.federation.Proto

Examples of org.waveprotocol.wave.federation.Proto.ProtocolWaveletDelta.toByteArray()


    context.getDeltas(waveletName, participant, fromVersion, toVersion, new Receiver<TransformedWaveletDelta>() {

          @Override
          public boolean put(TransformedWaveletDelta delta) {
            ProtocolWaveletDelta protoDelta = CoreWaveletOperationSerializer.serialize(delta);
            byte[] bytes = protoDelta.toByteArray();
            deltaBytes.add(bytes);
            version.set(delta.getResultingVersion());
            return length.addAndGet(bytes.length) < GET_HISTORY_BYTES_LENGTH_LIMIT;
          }
        });
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.