edu.nyu.cs.pdsg.switchboard
Class SbPipedOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.PipedOutputStream
          extended byedu.nyu.cs.pdsg.switchboard.SbPipedOutputStream

public class SbPipedOutputStream
extends java.io.PipedOutputStream


Field Summary
(package private)  SbPipedInputStream istream
           
(package private)  SbLayer layer
           
 
Fields inherited from class java.io.PipedOutputStream
 
Constructor Summary
SbPipedOutputStream(SbLayer _layer)
           
SbPipedOutputStream(SbPipedInputStream s, SbLayer _layer)
           
 
Method Summary
 void close()
           
 void connect(SbPipedInputStream s)
           
 void write(byte[] buf, int offset, int len)
           
 void write(int i)
           
 
Methods inherited from class java.io.PipedOutputStream
connect, flush
 
Methods inherited from class java.io.OutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

istream

SbPipedInputStream istream

layer

SbLayer layer
Constructor Detail

SbPipedOutputStream

public SbPipedOutputStream(SbPipedInputStream s,
                           SbLayer _layer)
                    throws java.io.IOException

SbPipedOutputStream

public SbPipedOutputStream(SbLayer _layer)
                    throws java.io.IOException
Method Detail

connect

public void connect(SbPipedInputStream s)
             throws java.io.IOException
Throws:
java.io.IOException

close

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

write

public void write(int i)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] buf,
                  int offset,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException


Copyright (c) 2002-2003 New York University RLAB