EstablishBase
, InboundEstablishState
, OutboundEstablishState
, OutboundNTCP2State
interface EstablishState
Modifier and Type | Method | Description |
---|---|---|
void |
close(String reason,
Exception e) |
Release resources on timeout.
|
int |
getVersion() |
Get the NTCP version
|
boolean |
isComplete() |
If synchronized on this, fails with
deadlocks from all over via CSFI.isEstablished().
|
boolean |
isCorrupt() |
did the handshake fail for some reason?
|
void |
prepareOutbound() |
Does nothing.
|
void |
receive(ByteBuffer src) |
Parse the contents of the buffer as part of the handshake.
|
void receive(ByteBuffer src)
IllegalStateException
void prepareOutbound()
IllegalStateException
boolean isCorrupt()
boolean isComplete()
int getVersion()