    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.mux.SessionOutputStream

    java.lang.Object
       |
       +----java.io.OutputStream
               |
               +----w3c.mux.SessionOutputStream

public class SessionOutputStream
extends OutputStream
implements MUX

##

close()
  Close this session output stream.
flush()
  Flush any pending data.
write(byte[], int, int)
  Write an array of bytes.
write(int)
  Write one byte of output.

##

flush

      public void flush() throws IOException

  Flush any pending data.
  Overrides:
    flush in class OutputStream

close

      public synchronized void close() throws IOException

  Close this session output stream.
  Overrides:
    close in class OutputStream

write

      public synchronized void write(int b) throws IOException

  Write one byte of output.
  Parameters:
    b - The byte to write.
  Throws: IOException
    If some IO error occured.
  Overrides:
    write in class OutputStream

write

      public synchronized void write(byte b[],
                                     int off,
                                     int len) throws IOException

  Write an array of bytes.
  Parameters:
    buf - The data to write.
    off - Offset in above buffer.
    len - Length of data to write.
  Throws: IOException
    If some IO error occured.
  Overrides:
    write in class OutputStream

    All Packages  Class Hierarchy  This Package  Previous  Next  Index