01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.object.dna.impl;
05:
06: import com.tc.io.TCByteBufferOutputStream;
07: import com.tc.object.ObjectID;
08: import com.tc.object.dna.api.DNAEncoding;
09:
10: public class ObjectDNAWriterImpl extends DNAWriterImpl {
11:
12: public ObjectDNAWriterImpl(TCByteBufferOutputStream output,
13: ObjectID id, String className,
14: ObjectStringSerializer serializer, DNAEncoding encoding,
15: String loaderDesc, long version) {
16: super(output, id, className, serializer, encoding, loaderDesc);
17: output.writeLong(version);
18: }
19:
20: }
|