Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.HyperOutputStream
Source: src/com/multiversesocial/hyperview/HyperOutputStream.java
HyperOutputStream — HyperView 3.2 project class.
Extends: java.io.OutputStream
Implements: none
public class HyperOutputStream extends OutputStream
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
volatile boolean closed | No comment in source; assigned in HyperOutputStream(), close(), write(); used in flush(). | ||
public HyperChannel parentChannel | No comment in source; assigned in HyperOutputStream(); used in write(). |
| Signature | Description | Source |
|---|---|---|
public HyperOutputStream(HyperChannel tChannel) | 3 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public void close() throws IOException | Sets closed = true. | |
public void flush() throws IOException | 1 statement(s); creates IOException. | |
public void write(byte[] tByte) throws IOException | 2 statement(s); calls write(); creates NullPointerException. | |
public void write(int tByte) throws IOException | 3 statement(s); calls write(). | |
public void write(byte[] b, int tOffset, int tLength) throws IOException | 6 statement(s); calls parentChannel.sendIO(); creates IOException, NullPointerException, IndexOutOfBoundsException. |
instantiation — HyperChannel.java, line 109
109 hyperOutputStream = new HyperOutputStream(this);