The NTCP transport allows passing I2P messages on top of TCP. The N in NTCP stands for 'New', as the NTCP transport replaces an older TCP transport which had issues concerning congestion collapse.
Interface Summary Interface Description EstablishStateHandle the establishment NTCP2Payload.PayloadCallbackFor all callbacks, recommend throwing exceptions only from the handshake.
Class Summary Class Description EstablishBaseInbound NTCP 1 or 2. EventPumperThe main NTCP NIO thread. InboundEstablishStateNTCP 1 or 2. NTCP2OptionsNTCP2 Padding/Dummy/Delay configuration for data phase. NTCP2PayloadNTCP2 Payload generation and parsing NTCP2Payload.BlockBase class for blocks to be transmitted. NTCP2Payload.DateTimeBlock NTCP2Payload.I2NPBlock NTCP2Payload.OptionsBlock NTCP2Payload.PaddingBlock NTCP2Payload.RIBlock NTCP2Payload.TerminationBlock NTCPConnectionCoordinate the connection to a single peer. NTCPConnection.PrepBuffer NTCPSendFinisherPreviously, NTCP was using SimpleTimer with a delay of 0, which was a real abuse. NTCPTransportThe NIO TCP transport OutboundEstablishStateNTCP 1 only. OutboundNTCP2StateNTCP 2 only. ReaderPool of running threads which will process any read bytes on any of the NTCPConnections, including the decryption of the data read, connection handshaking, parsing bytes into I2NP messages, etc. WriterPool of running threads which will transform the next I2NP message into something ready to be transferred over an NTCP connection, including the encryption of the data read.
Enum Summary Enum Description EstablishBase.State