Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.DisconnectTimer
Source: src/com/multiversesocial/hyperview/DisconnectTimer.java
----------------------------------------- DisConnectTimer checks to see if non activity disconnect time has expired abd also
public class DisconnectTimer extends SystemTimer implements DisconnectTimerConstants
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
static final byte[] crLF | = {(byte)'\r', (byte)'\n'} | No comment in source; name appears in 1 other source file(s): DumpGobs. | |
HyperDisconnectHandler disconnectHandler | No comment in source; assigned in DisconnectTimer(); used in function(). | ||
volatile int dtmFlags | No comment in source; assigned in DisconnectTimer(), function(). | ||
HyperNBInputHandler inputHandler | No comment in source; assigned in DisconnectTimer(). | ||
HyperLinkedList ioAddList | No comment in source; assigned in DisconnectTimer(); used in function(). | ||
int lastConnectionNumber | No comment in source; assigned in DisconnectTimer(). | ||
Object masterSocketChannelLock | Shared locks | ||
HyperLinkedList nodeExceptionList | No comment in source; assigned in DisconnectTimer(); used in function(). | ||
HyperLinkedList nodeExceptionProcessList | No comment in source; assigned in DisconnectTimer(); used in function(). | ||
HyperLinkedList nodeExceptionReturnList | No comment in source; assigned in DisconnectTimer(); used in function(). | ||
HyperNBOutputHandler outputHandler | No comment in source; assigned in DisconnectTimer(). | ||
byte[] ping | No comment in source; assigned in DisconnectTimer(), function(). | ||
Runtime runTime | No comment in source; assigned in DisconnectTimer(); used in showMemory(). | ||
byte started | No comment in source; assigned in DisconnectTimer(), function(). |
| Signature | Description | Source |
|---|---|---|
DisconnectTimer(int tTimeoutSeconds, HyperConnectionHandler tParentHandler) | 15 statement(s); calls super(), setTimerRepeat(), Runtime.getRuntime(); creates HyperLinkedList. |
| Signature | Description | Source |
|---|---|---|
static { … } | Implicit default constructor generated by the compiler (not written in the source). | |
public void function() | 22 statement(s); calls tHyperConnectionNode.getWriteVector(), Integer.toString(), tWriteVector.writeBuffer.clear(), tWriteVector.writeBuffer.put(), tWriteVector.writeBuffer.flip() …. | |
void pause(int millis) | 1 statement(s); calls Thread.sleep(). | |
void showMemory() | 6 statement(s); calls runTime.freeMemory(), runTime.maxMemory(), runTime.totalMemory(). |
Fields: checkTime, count, DEFAULT_TIMEOUT, iteration, notifier, number, ST_THREAD_ENA, ST_TIMED_OUT, ST_TIMER_REPEAT, systemClock, task, timeout, tmFlags, uniqueID
Methods: run(), setNotify(Object), setTimerRepeat(boolean), start(), stop()
Fields: attachment, index, linkFlags, name, next, parentList, prev
Methods: inList(), setName(String)
instantiation — HyperConnectionHandler.java, line 168
168 disconnectTimer = new DisconnectTimer(DisconnectTimerConstants.CHECK_SECONDS,(HyperConnectionHandler)this);