| Modifier and Type | Field and Description |
|---|---|
| private final SocketChannelImpl |
| Access | Constructor and Description |
|---|---|
| pack-priv | SocketOutputStream(SocketChannelImpl sc)
Initialize a SocketOutputStream that writes to the given socket channel. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv SocketChannelImpl | |
| public void | close()
Overrides java. Implements java. Closes this output stream and releases any system resources associated with this stream. |
| public void | write(int b)
Implements abstract java. Writes the specified byte to this output stream. |
| public void | write(byte[] b, int off, int len)
Overrides java. Writes |
| sc | back to summary |
|---|---|
| private final SocketChannelImpl sc | |
| SocketOutputStream | back to summary |
|---|---|
| pack-priv SocketOutputStream(SocketChannelImpl sc) Initialize a SocketOutputStream that writes to the given socket channel. | |
| channel | back to summary |
|---|---|
| pack-priv SocketChannelImpl channel() Returns the socket channel. | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this output stream and releases any system resources
associated with this stream. The general contract of
| |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |