KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > dna > impl > ObjectDNAWriterImpl


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.object.dna.impl;
5
6 import com.tc.io.TCByteBufferOutputStream;
7 import com.tc.object.ObjectID;
8
9 public class ObjectDNAWriterImpl extends DNAWriterImpl {
10
11   public ObjectDNAWriterImpl(TCByteBufferOutputStream output, ObjectID id, String JavaDoc className,
12                              ObjectStringSerializer serializer, DNAEncoding encoding, String JavaDoc loaderDesc, long version) {
13     super(output, id, className, serializer, encoding, loaderDesc, false);
14     output.writeLong(version);
15   }
16 }
17
Popular Tags