Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.HyperDisconnectHandler
Source: src/com/multiversesocial/hyperview/HyperDisconnectHandler.java
Object lock; Object processLock = new Object(); int waitTime = 41; // 2 X readHandler wait +1
public class HyperDisconnectHandler implements Runnable, HyperConnectionHandlerConstants
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
HyperLinkedList disconnectAddList | No comment in source; assigned in HyperDisconnectHandler(); used in run(). | ||
HyperLinkedList disconnectList | No comment in source; assigned in HyperDisconnectHandler(); used in run(). | ||
HyperLinkedList disconnectReturnList | No comment in source; assigned in HyperDisconnectHandler(); used in run(). | ||
Thread disconnectTask | No comment in source; assigned in start(), stop(); used in run(). | ||
int flags | = 0 | No comment in source; not referenced by name in this type’s methods. | |
int iteration | = 0 | No comment in source; assigned in run(). | |
long now | = System.currentTimeMillis() | No comment in source; not referenced by name in this type’s methods. |
| Signature | Description | Source |
|---|---|---|
public HyperDisconnectHandler(HyperConnectionHandler tdhc) | 4 statement(s); calls super(); creates HyperLinkedList. |
| Signature | Description | Source |
|---|---|---|
public void pause(int tPauseTime) | 1 statement(s); calls Thread.sleep(). | |
public void run() | 10 statement(s); calls Thread.currentThread(), Thread.currentThread().setName(), HyperConnectionHandler.waitForRunMask(), disconnectAddList.dlDelete(), disconnectList.dlStore() …. | |
void start() | 5 statement(s); calls tTask.interrupt(), disconnectTask.start(), disconnectTask.setName(); creates Thread. | |
void stop() | 3 statement(s); calls tTask.interrupt(). |
instantiation — HyperConnectionHandler.java, line 153
153 disconnectHandler = new HyperDisconnectHandler(this);
declaration — DisconnectTimer.java, line 14
14 HyperDisconnectHandler disconnectHandler;