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

HyperDisconnectHandler

HyperView V3.2 — class
version V3.2 class

Summary

Object lock; Object processLock = new Object(); int waitTime = 41; // 2 X readHandler wait +1

Source file: HyperDisconnectHandler.java

Hierarchy

Extends: none

Implements: Runnable, HyperConnectionHandlerConstants

Referenced HyperView classes

Media files used

Declaration & members

public class HyperDisconnectHandler implements Runnable, HyperConnectionHandlerConstants

Declared in src/com/multiversesocial/hyperview/HyperDisconnectHandler.java, lines 14–205. 7 field(s), 1 constructor(s), 4 method(s). Every member has an anchor you can link to (e.g. HyperDisconnectHandler.html#<id>).

Fields (7)

DeclarationValue / initializerDescriptionSource
HyperLinkedList disconnectAddListNo comment in source; assigned in HyperDisconnectHandler(); used in run().line 25
HyperLinkedList disconnectListNo comment in source; assigned in HyperDisconnectHandler(); used in run().line 26
HyperLinkedList disconnectReturnListNo comment in source; assigned in HyperDisconnectHandler(); used in run().line 27
Thread disconnectTaskNo comment in source; assigned in start(), stop(); used in run().line 19
int flags= 0No comment in source; not referenced by name in this type’s methods.line 20
int iteration= 0No comment in source; assigned in run().line 22
long now= System.currentTimeMillis()No comment in source; not referenced by name in this type’s methods.line 21

Constructors (1)

SignatureDescriptionSource
public HyperDisconnectHandler(HyperConnectionHandler tdhc)4 statement(s); calls super(); creates HyperLinkedList.line 56

Methods (4)

SignatureDescriptionSource
public void pause(int tPauseTime)1 statement(s); calls Thread.sleep().line 194
public void run()10 statement(s); calls Thread.currentThread(), Thread.currentThread().setName(), HyperConnectionHandler.waitForRunMask(), disconnectAddList.dlDelete(), disconnectList.dlStore() ….
Implements Runnable.run()
line 64
void start()5 statement(s); calls tTask.interrupt(), disconnectTask.start(), disconnectTask.setName(); creates Thread.line 33
void stop()3 statement(s); calls tTask.interrupt().line 46

Examples

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

instantiation — HyperConnectionHandler.java, line 153

  153  disconnectHandler          = new HyperDisconnectHandler(this);

declaration — DisconnectTimer.java, line 14

   14  HyperDisconnectHandler disconnectHandler;
Hits--