sisc.ser
Class BlockSerializer

java.lang.Object
  extended by sisc.ser.BerEncoding
      extended by sisc.ser.SerializerImpl
          extended by sisc.ser.SLL2Serializer
              extended by sisc.ser.BlockSerializer
All Implemented Interfaces:
java.io.DataOutput, java.io.ObjectOutput, Serializer

public class BlockSerializer
extends SLL2Serializer


Field Summary
 
Fields inherited from class sisc.ser.SerializerImpl
ctx, datout
 
Constructor Summary
BlockSerializer(AppContext ctx, java.io.OutputStream out, java.util.Vector classes, Expression[] entryPoints)
           
 
Method Summary
 int[] getOffsets()
           
 int[] getSizes()
           
protected  void serializeEnd(int posi, int sizeStartOffset)
           
 void writeClass(java.lang.Class c)
           
protected  void writeExpression(Expression e, boolean flush)
          Required call which actually writes out the bytes of an expression
 
Methods inherited from class sisc.ser.SLL2Serializer
close, flush, serialize, writeExpression, writeExpression, writeInitializedExpression, writeNewEntryPointMarker, writeSeenEntryPoint
 
Methods inherited from class sisc.ser.SerializerImpl
lookupLibraryBinding, write, write, write, writeBigDecimal, writeBigInteger, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeExpressionArray, writeFloat, writeInt, writeLong, writeObject, writeShort, writeSymbolicEnvironment, writeUTF
 
Methods inherited from class sisc.ser.BerEncoding
readBer, readBerLong, readBerShort, writeBer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockSerializer

public BlockSerializer(AppContext ctx,
                       java.io.OutputStream out,
                       java.util.Vector classes,
                       Expression[] entryPoints)
                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getSizes

public int[] getSizes()

writeExpression

protected void writeExpression(Expression e,
                               boolean flush)
                        throws java.io.IOException
Description copied from class: SLL2Serializer
Required call which actually writes out the bytes of an expression

Specified by:
writeExpression in class SLL2Serializer
Throws:
java.io.IOException

writeClass

public void writeClass(java.lang.Class c)
                throws java.io.IOException
Throws:
java.io.IOException

serializeEnd

protected void serializeEnd(int posi,
                            int sizeStartOffset)
Specified by:
serializeEnd in class SLL2Serializer

getOffsets

public int[] getOffsets()