Class OutboundEstablishState

  • All Implemented Interfaces:
    EstablishState

    class OutboundEstablishState
    extends EstablishBase
    NTCP 1 only. We are Alice.
    Since:
    0.9.35 pulled out of EstablishState
    • Method Detail

      • receive

        public void receive​(ByteBuffer src)
        Parse the contents of the buffer as part of the handshake. All data must be copied out of the buffer as Reader.processRead() will return it to the pool. If there are additional data in the buffer after the handshake is complete, the EstablishState is responsible for passing it to NTCPConnection.
        Specified by:
        receive in interface EstablishState
        Overrides:
        receive in class EstablishBase
      • releaseBufs

        protected void releaseBufs​(boolean isVerified)
        Only call once. Caller must synch.
        Overrides:
        releaseBufs in class EstablishBase
        Since:
        0.9.16