sisc.io
Class SerializerStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by sisc.io.SerializerStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, SerialOutputStream

public class SerializerStream
extends java.io.FilterOutputStream
implements SerialOutputStream


Field Summary
 StreamSerializer serializer
           
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
SerializerStream(AppContext ctx, java.io.OutputStream out)
           
 
Method Summary
 void close()
           
 void flush()
           
 void writeSer(Value v)
           
 
Methods inherited from class java.io.FilterOutputStream
write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serializer

public StreamSerializer serializer
Constructor Detail

SerializerStream

public SerializerStream(AppContext ctx,
                        java.io.OutputStream out)
                 throws java.io.IOException
Throws:
java.io.IOException
Method Detail

writeSer

public void writeSer(Value v)
              throws java.io.IOException
Specified by:
writeSer in interface SerialOutputStream
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Specified by:
flush in interface java.io.Flushable
Overrides:
flush in class java.io.FilterOutputStream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.FilterOutputStream
Throws:
java.io.IOException