Packages that use NTCP2Payload.Block
Package
Description
NTCP2, the TCP transport: framed, ratchet-encrypted and mutually authenticated connections between routers.
Uses of NTCP2Payload.Block in net.i2p.router.transport.ntcp
Subclasses of NTCP2Payload.Block in net.i2p.router.transport.ntcpModifier and TypeClassDescriptionstatic classBlock containing the current date and time.static classBlock containing I2NP message.static classBlock containing options data.static classBlock containing padding data.static classBlock containing router information.static classBlock containing termination data.Fields in net.i2p.router.transport.ntcp with type parameters of type NTCP2Payload.BlockModifier and TypeFieldDescription(package private) final List<NTCP2Payload.Block> NTCPConnection.BlockPool.blocksBlocks allocated for the frame being built.Method parameters in net.i2p.router.transport.ntcp with type arguments of type NTCP2Payload.BlockModifier and TypeMethodDescription(package private) voidNTCPConnection.BlockPool.release(List<NTCP2Payload.Block> blocks) Return the pooled block types to the pool; other types are dropped.private voidNTCPConnection.sendNTCP2(byte[] tmp, List<NTCP2Payload.Block> blocks) This constructs the payload from the blocks, using the tmp byte array, then encrypts the payload and passes it to the pumper for writing.static intNTCP2Payload.writePayload(byte[] payload, int off, List<NTCP2Payload.Block> blocks) Write the blocks out to the frame, in list order.