php.java.bridge
Class LocalSocketOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by php.java.bridge.LocalSocketOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class LocalSocketOutputStream
extends java.io.OutputStream


Constructor Summary
LocalSocketOutputStream(LocalSocket socket, int peer)
           
 
Method Summary
 void close()
           
 void write(byte[] b, int dummy, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalSocketOutputStream

public LocalSocketOutputStream(LocalSocket socket,
                               int peer)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int dummy,
                  int len)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
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.OutputStream
Throws:
java.io.IOException