| Package | Description |
|---|---|
| net.i2p.router.transport.ntcp | The NTCP (New TCP) transport for I2P, allowing I2P messages to be passed
over TCP connections. |
| Class and Description |
|---|
| EstablishBase Base class for NTCP connection establishment. |
| EstablishBase.State States for NTCP connection establishment process. |
| EstablishState Interface for handling NTCP connection establishment state machine. |
| EventPumper The main NTCP NIO event loop thread responsible for high-throughput, low-latency
handling of inbound and outbound NTCP connections using non-blocking I/O. |
| NTCP2Options NTCP2 Padding/Dummy/Delay configuration for data phase. |
| NTCP2Payload.Block Base class for NTCP 2 payload blocks to be transmitted. |
| NTCP2Payload.PayloadCallback For all callbacks, recommend throwing exceptions only from the handshake. |
| NTCPConnection Coordinates a connection to a single peer using NTCP 1 or NTCP 2 protocols. |
| NTCPConnection.PrepBuffer Buffer for preparing data to be written to the connection. |
| NTCPTransport Non-blocking TCP (NTCP) transport implementation for I2P. |
| Reader Pool of running threads which will process any read bytes on any of the
NTCPConnections, including decryption of the data read, connection
handshaking, parsing bytes into I2NP messages, etc. |
| Writer Pool of running threads which will transform the next I2NP message into
something ready to be transferred over an NTCP connection, including encryption of the data read. |