interface EstablishState| Modifier and Type | Method and Description |
|---|---|
void | close(String reason,
Exception e)Release resources on timeout. |
String | getFailReason() |
int | getVersion()Get the NTCP version |
boolean | isComplete()If synchronized on this, fails with
deadlocks from all over via CSFI.isEstablished(). |
boolean | isCorrupt() |
void | prepareOutbound()Does nothing. |
void | receive(ByteBuffer src)Parse the contents of the buffer as part of the handshake. |
void close(String reason, Exception e)
reason - the reasone - may be nullString getFailReason()
int getVersion()
boolean isComplete()
boolean isCorrupt()
void prepareOutbound()
IllegalStateException - on invalid statevoid receive(ByteBuffer src)
src - the buffer to parseIllegalStateException - on invalid state