com::declarativa::interprolog::util::PrologOutputObjectStream Class Reference


Public Member Functions

 PrologOutputObjectStream (OutputStream os) throws IOException
ObjectOutputStream getObjectStream ()
void flush () throws IOException
void writeObject (Object obj) throws IOException
int size ()

Package Attributes

OutputStream os
ObjectOutputStream tempObjects
ByteArrayOutputStream serializedTemp
boolean flushed = false

Detailed Description

Vaguely similar to an ObjectOutputStream, but sends the total number of serialized bytes up front, so Prolog can keep grammar and socket reads separate without hanging for input

Definition at line 12 of file PrologOutputObjectStream.java.


The documentation for this class was generated from the following file:
Generated on Wed Jul 26 13:30:54 2006 for XSB by  doxygen 1.4.5