Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.HyperNodeWriteVector
Source: src/com/multiversesocial/hyperview/HyperNodeWriteVector.java
Similar HyperView - runVector() "PROPER" implementation of this class is thus "DO SOME OPERATION IN function() AND RETURN"
public class HyperNodeWriteVector extends Linkable implements HyperNodeVectorConstants
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
byte[] buffer | No comment in source; assigned in HyperNodeWriteVector(). | ||
HyperChannel channel | No comment in source; assigned in HyperNodeWriteVector(), initialize(). | ||
FileChannel fileChannel | No comment in source; used in function(). | ||
int iteration | No comment in source; assigned in HyperNodeWriteVector(), function(), cleanUp(). | ||
int number | No comment in source; assigned in HyperNodeWriteVector(), cleanUp(). | ||
HyperConnectionHandler parentConnectionHandler | No comment in source; assigned in HyperNodeWriteVector(), cleanUp(), initialize(). | ||
HyperConnectionNode parentNode | No comment in source; assigned in HyperNodeWriteVector(), cleanUp(), initialize(); used in function(). | ||
SocketChannel socketChannel | No comment in source; assigned in HyperNodeWriteVector(), cleanUp(), initialize(); used in function(). | ||
int totalWrittenBytes | No comment in source; assigned in HyperNodeWriteVector(). | ||
ByteBuffer writeBuffer | No comment in source; assigned in HyperNodeWriteVector(); used in function(), initialize(). | ||
int writeBufferSize | No comment in source; assigned in HyperNodeWriteVector(). | ||
int writeSize | No comment in source; assigned in HyperNodeWriteVector(). | ||
int writeVectorFlags | No comment in source; assigned in HyperNodeWriteVector(). |
| Signature | Description | Source |
|---|---|---|
HyperNodeWriteVector(HyperChannel tChannel, HyperConnectionNode tNode) | 14 statement(s); calls super(), ByteBuffer.allocateDirect(). | |
HyperNodeWriteVector(SocketChannel tChannel, HyperConnectionNode tNode) | 14 statement(s); calls super(), ByteBuffer.allocateDirect(). | |
HyperNodeWriteVector(SocketChannel tChannel, HyperConnectionNode tNode, ByteBuffer tBuffer) | 16 statement(s); calls super(), ByteBuffer.allocateDirect(), writeBuffer.clear(). | |
HyperNodeWriteVector(HyperChannel tChannel, HyperConnectionNode tNode, ByteBuffer tBuffer) | 15 statement(s); calls super(), ByteBuffer.allocateDirect(), writeBuffer.clear(). |
| Signature | Description | Source |
|---|---|---|
public void cleanUp() | 5 statement(s). | |
public int function() | 7 statement(s); calls writeBuffer.hasRemaining(), socketChannel.write(), SelectorProvider.provider().openSelector(), SelectorProvider.provider(), socketChannel.register() …. | |
public void initialize(HyperChannel tChannel, HyperConnectionNode tNode) | 4 statement(s); calls writeBuffer.clear(). | |
public void initialize(SocketChannel tChannel, HyperConnectionNode tNode) | 5 statement(s); calls writeBuffer.clear(), t.printStackTrace(), System.exit(); creates Throwable. |
Fields: attachment, index, linkFlags, name, next, parentList, prev
Methods: inList(), setName(String)
instantiation — HyperConnectionNode.java, line 638
638 new HyperNodeWriteVector(tChannel,this,(ByteBuffer)null);
declaration — DisconnectTimer.java, line 77
77 HyperNodeWriteVector tWriteVector;
declaration — HyperChannel.java, line 236
236 HyperNodeWriteVector tWriteVector = null;