ProtocolWaveletOperation opMessage = OperationSerializer.createMessage(op);
return serializer.serializeOp(opMessage);
}
public String serializeDelta(WaveletOperation operation) {
Delta delta = MessageFactoryHelper.createDelta();
delta.setAuthor(operation.getContext().getCreator().getAddress());
delta.setTimestampMillis(operation.getContext().getTimestamp());
delta.setOperation(OperationSerializer.createMessage(operation));
return serializer.serializeDelta(delta);
}