Public Member Functions | |
void | write (int b) throws IOException |
Perform a blocking write of one byte to this output stream. | |
void | write (byte b[]) throws IOException |
Perform a blocking write of b.length bytes to the underlying stream. | |
void | write (byte b[], int off, int len) throws IOException |
Perform a blocking write of len bytes to the underlying stream from the byte array b starting at offset off . | |
int | nbWrite (byte b) throws IOException |
Perform a non-blocking write of one byte to this output stream. | |
int | nbWrite (byte b[]) throws IOException |
Perform a nonblocking write of up to b.length bytes to the underlying stream. | |
int | nbWrite (byte b[], int off, int len) throws IOException |
Perform a nonblocking write of up to len bytes to the underlying stream starting at offset off . | |
void | flush () |
flush() does nothing in this implementation. | |
void | close () throws IOException |
Package Functions | |
NonblockingSocketOutputStream (NonblockingSocketImpl impl) | |
Private Member Functions | |
native int | nbSocketWrite (byte b[], int off, int len) throws IOException |
Private Attributes | |
NBIOFileDescriptor | fd |
boolean | eof |
NonblockingSocketImpl | impl |
byte | temp [] = new byte[1] |
Static Private Attributes | |
final int | SKIPBUFLEN = 4096 |
|
|
|
Implements seda.nbio.NonblockingOutputStream. |
|
flush() does nothing in this implementation.
Implements seda.nbio.NonblockingOutputStream. |
|
|
|
Perform a nonblocking write of up to Returns the number of bytes written, or 0 if nothing was written. Use write() to perform a blocking write. Implements seda.nbio.NonblockingOutputStream. |
|
Perform a nonblocking write of up to Returns the number of bytes written, or 0 if nothing was written. Use write() to perform a blocking write. Implements seda.nbio.NonblockingOutputStream. |
|
Perform a non-blocking write of one byte to this output stream. Returns 1 if the data was written or 0 if it could not be. Throws an EOFException if the end of the stream has been reached. Use write() to perform a blocking write of one byte. Implements seda.nbio.NonblockingOutputStream. |
|
Perform a blocking write of Use nbWrite() to perform a nonblocking write. Implements seda.nbio.NonblockingOutputStream. |
|
Perform a blocking write of Use nbWrite() to perform a nonblocking write. Implements seda.nbio.NonblockingOutputStream. |
|
Perform a blocking write of one byte to this output stream. Throws an EOFException if the end of stream has been reached. Use nbWrite() to perform a non-blocking write of one byte. Implements seda.nbio.NonblockingOutputStream. |
|
|
|
|
|
|
|
|
|
|