Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.HyperOutputStream
Source: src/com/multiversesocial/hyperview/HyperOutputStream.java

HyperOutputStream

HyperView V3.2 — class
version V3.2 class

Summary

HyperOutputStream — HyperView 3.2 project class.

Source file: HyperOutputStream.java

Hierarchy

Extends: java.io.OutputStream

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public class HyperOutputStream extends OutputStream

Declared in src/com/multiversesocial/hyperview/HyperOutputStream.java, lines 6–80. 2 field(s), 1 constructor(s), 5 method(s). Every member has an anchor you can link to (e.g. HyperOutputStream.html#<id>).

Fields (2)

DeclarationValue / initializerDescriptionSource
volatile boolean closedNo comment in source; assigned in HyperOutputStream(), close(), write(); used in flush().line 9
public HyperChannel parentChannelNo comment in source; assigned in HyperOutputStream(); used in write().line 8

Constructors (1)

SignatureDescriptionSource
public HyperOutputStream(HyperChannel tChannel)3 statement(s); calls super().line 11

Methods (5)

SignatureDescriptionSource
public void close() throws IOExceptionSets closed = true.
Overrides OutputStream.close()
line 17
public void flush() throws IOException1 statement(s); creates IOException.
Overrides OutputStream.flush()
line 23
public void write(byte[] tByte) throws IOException2 statement(s); calls write(); creates NullPointerException.
Overrides OutputStream.write()
line 32
public void write(int tByte) throws IOException3 statement(s); calls write().
Overrides OutputStream.write()
line 74
public void write(byte[] b, int tOffset, int tLength) throws IOException6 statement(s); calls parentChannel.sendIO(); creates IOException, NullPointerException, IndexOutOfBoundsException.
Overrides OutputStream.write()
line 41

Inherited members

Non-private members inherited from HyperView superclasses and not overridden or hidden here.

Also inherits the public/protected members of java.io.OutputStream (JDK class) and its superclasses.

Examples

Real usage taken from elsewhere in the HyperView 3.2 source (file and line shown; source path src/com/multiversesocial/hyperview/).

instantiation — HyperChannel.java, line 109

  109  hyperOutputStream             = new HyperOutputStream(this);
Hits--