Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.HyperNBOutputHandler
Source: src/com/multiversesocial/hyperview/HyperNBOutputHandler.java
static Object lock = new Object(); volatile static HyperLinkedList broadcastList = new HyperLinkedList("broadcastList"); Selector ioSelector = null;
public class HyperNBOutputHandler implements Runnable, HyperNodeConstants, ThreadReport
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
int accruedTimeoutSeconds | No comment in source; assigned in HyperNBOutputHandler(). | ||
HyperChannel[] channel | No comment in source; assigned in run(). | ||
HyperLinkedList channelIOList | No comment in source; used in run(). | ||
HyperLinkedList[] channelOutputVectorList | No comment in source; used in run(). | ||
ChannelTempLink[] channelTempLink | No comment in source; used in run(). | ||
HyperDisconnectHandler disconnectHandler | No comment in source; assigned in HyperNBOutputHandler(). | ||
HyperChannelRegistry hyperChannelRegistry | <Channel info> | ||
boolean[] impendingChannelIO | No comment in source; assigned in run(). | ||
boolean[] impendingI0 | No comment in source; name appears in 3 other source file(s): HyperChannel, HyperChannelRegistry, HyperNBInputHandler. | ||
HyperNBInputHandler inputHandler | No comment in source; name appears in 4 other source file(s): DisconnectTimer, HyperChannel, HyperConnectionHandler, HyperConnectionNode. | ||
Iterator ioIterator | No comment in source; name appears in 1 other source file(s): HyperNBInputHandler. | ||
Set ioReadyKeys | No comment in source; name appears in 1 other source file(s): HyperNBInputHandler. | ||
int iteration | No comment in source; assigned in HyperNBOutputHandler(), start(), run(), getRunInfo(). | ||
long lastRun | No comment in source; assigned in HyperNBOutputHandler(), start(), run(), getRunInfo(). | ||
Object masterSocketChannelLock | No comment in source; assigned in HyperNBOutputHandler(); used in run(). | ||
long now | No comment in source; assigned in HyperNBOutputHandler(), start(), getRunInfo(); used in run(). | ||
HyperConnectionHandler parentHandler | No comment in source; assigned in HyperNBOutputHandler(); used in start(), stop(). | ||
int processIteration | No comment in source; assigned in HyperNBOutputHandler(). | ||
volatile RunInfo runInfo | No comment in source; assigned in HyperNBOutputHandler(); used in start(), stop(), run(), getRunInfo(). | ||
long startTime | No comment in source; assigned in HyperNBOutputHandler(), start(), getRunInfo(). | ||
int timeoutCheckSeconds | No comment in source; assigned in HyperNBOutputHandler(). | ||
public int totalChannels | No comment in source; assigned in HyperNBOutputHandler(). | ||
int totalKeys | No comment in source; assigned in HyperNBOutputHandler(). | ||
int totalOutputs | No comment in source; assigned in HyperNBOutputHandler(). | ||
long totalReadBytes | No comment in source; assigned in HyperNBOutputHandler(). | ||
long totalWrittenBytes | No comment in source; assigned in HyperNBOutputHandler(), run(). | ||
volatile int vectorsProcessed | = 0 | No comment in source; assigned in HyperNBOutputHandler(). | |
static int vectorsToProcess | = 0 | No comment in source; assigned in run(). | |
int waitTime | No comment in source; assigned in HyperNBOutputHandler(), getRunInfo(); used in run(). | ||
static volatile HyperLinkedList writeAddList | = new HyperLinkedList("writeAddList") | No comment in source; used in run(); name appears in 3 other source file(s): DisconnectTimer, HyperChannel, HyperConnectionNode. | |
volatile HyperLinkedList writeExceptionList | No comment in source; assigned in HyperNBOutputHandler(); used in run(). | ||
int writeFlags | No comment in source; assigned in HyperNBOutputHandler(). | ||
volatile HyperLinkedList writeList | No comment in source; assigned in HyperNBOutputHandler(); used in run(). | ||
Thread writeTask | No comment in source; assigned in start(), stop(); used in run(), isAlive(). |
| Signature | Description | Source |
|---|---|---|
HyperNBOutputHandler(HyperConnectionHandler tHandler) | </Channel info> |
| Signature | Description | Source |
|---|---|---|
static { … } | Implicit default constructor generated by the compiler (not written in the source). | |
void delay(int pauseTime) | 1 statement(s); calls wait(). | |
public RunInfo getRunInfo() | 7 statement(s). | |
public boolean isAlive() | 2 statement(s); calls writeTask.isAlive(). | |
public void run() | 15 statement(s); calls Thread.currentThread(), HyperConnectionHandler.getHandlerList(), System.exit(), HyperConnectionHandler.waitIOExec(), writeAddList.notifyAll() …. | |
public void start() | 7 statement(s); calls System.currentTimeMillis(), writeTask.setName(), writeTask.start(), parentHandler.parentView.hyperExec.addThread(); creates Thread. | |
public void stop() | 5 statement(s); calls parentHandler.parentView.hyperExec.remThread(), tTask.interrupt(). | |
public String toString() | Returns "HyperNBInputHandler(" + super.toString() + ')'. |
instantiation — HyperConnectionHandler.java, line 154
154 outputHandler = new HyperNBOutputHandler(this);
declaration — DisconnectTimer.java, line 12
12 HyperNBOutputHandler outputHandler;
declaration — HyperChannel.java, line 51
51 HyperNBOutputHandler parentOutputHandler;