EstablishStateclass InboundEstablishState extends EstablishBase
EstablishBase.State_con, _context, _curDecrypted, _dh, _e_bobSig, _e_hXY_tsB, _hX_xor_bobIdentHash, _log, _peerSkew, _prevEncrypted, _received, _state, _stateLock, _transport, _tsA, _tsB, _X, _Y, AES_SIZE, FAILED, HXY_SIZE, HXY_TSB_PAD_SIZE, MAX_RI_SIZE, MIN_RI_SIZE, VERIFIED, XY_SIZE| Constructor | Description |
|---|---|
InboundEstablishState(RouterContext ctx,
NTCPTransport transport,
NTCPConnection con) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getVersion() |
Get the NTCP version
|
void |
receive(ByteBuffer src) |
parse the contents of the buffer as part of the handshake.
|
protected void |
releaseBufs(boolean isVerified) |
Only call once.
|
_x, changeState, close, fail, fail, fail, getError, getException, getExtraBytes, getFailedBySkew, isComplete, isCorrupt, prefix, prepareExtra, prepareOutbound, toString, xor32public InboundEstablishState(RouterContext ctx, NTCPTransport transport, NTCPConnection con)
public void receive(ByteBuffer src)
receive in interface EstablishStatereceive in class EstablishBasepublic int getVersion()
getVersion in interface EstablishStategetVersion in class EstablishBaseprotected void releaseBufs(boolean isVerified)
releaseBufs in class EstablishBase