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

 class LocalSocketOutputStream
extends java.io.OutputStream


Field Summary
(package private)  int peer
           
(package private)  LocalSocket socket
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

peer

int peer

socket

LocalSocket socket
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