HyperView2.959 bannerDocumentation
 
HyperConnectionNode()

Constructors:

HyperConnectionNode(HyperConnectionHandler,intr,ServerSocketChannel)
NOTE:
 To get a Node properly you have a few choices. Calling this constructor
 will not give you the results you  expect.
   To properly get a HyperConnectionNode call

  • HyperConnectionHandler.getBlankNode()
    This ensures the HyperConnectionNode is retrieved from  the connectionPool
    for INCOMING connections.
  • ExternalConnectionHandler.getExternalNode(HyperConnectionNode);
    This ensures the externalConnectionNode is retrieved from  the
    externalConnectionPool for and OUTGOING connection.
  

public void saveNode() Save node info to the file "nio_server.dat"



public void initialize(HyperConnectionHandler,
intr,ServerSocketChannel)

public void initialize(HyperConnectionHandler tHandler,
int tNodeNumber,SocketChannel tSocketChannel)

public int sendIO(HyperLinkedList tVectorList)
public void getIO(HyperLinkedList tList)
public void getIO(HyperNodeReadVector tempReadVector)
public HyperNodeReadVector getIO()
public int sendIO(byte data)


HyperNodeWriteVector getWriteVector()
HyperNodeReadVector getReadVector()


void replyWriteMsg(HyperNodeWriteVector)
void replyReadMsg(HyperNodeReadVector)



public boolean cleanUp()
public void showBufferInfo(ByteBuffer)
void setSocketDefaults()
String getExceptionBits()