jist.swans.app.io
Class OutputStream

java.lang.Object
  extended by jist.swans.app.io.OutputStream
Direct Known Subclasses:
TcpOutputStream

public abstract class OutputStream
extends java.lang.Object

A functionally identical port of java.io.OutputStream, primarily brought into jist.swans.app.io package so that it could be dynamically rewritten and tagged with the appropriate blocking invocation semantics.

Since:
SWANS1.0
Version:
$Id: OutputStream.java,v 1.4 2004/04/06 16:07:46 barr Exp $
Author:
Sun Microsystems, Rimon Barr <barr+jist@cs.cornell.edu>

Constructor Summary
OutputStream()
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
abstract  void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputStream

public OutputStream()
Method Detail

write

public abstract void write(int b)
                    throws java.io.IOException,
                           JistAPI.Continuable
Throws:
java.io.IOException
JistAPI.Continuable
See Also:
OutputStream

write

public void write(byte[] b)
           throws java.io.IOException
Throws:
java.io.IOException
See Also:
OutputStream

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException
See Also:
OutputStream

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException
See Also:
OutputStream

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException
See Also:
OutputStream