Uses of Package
net.i2p.router.transport.udp
Package
Description
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
Helpers and handlers for the router console user interface,
with these classes supporting the webapp in routerconsole.war.
-
ClassDescriptionGeneric means of SACK/NACK transmission for partially or fully received messagesCoordinate the establishment of new sessions - both inbound and outbound.Data for a new connection being established, where the remote peer has initiated the connection with us.Data for a new connection being established, where the remote peer has initiated the connection with us.Organize the received data message fragments, feeding completed messages to the
MessageReceiver
and telling thePeerState
to ACK.Modifiable Long, no lockingHold the raw data fragments of an inbound message.Keep track of inbound and outbound introductions.Base queue for messages not yet packetizedData for a new connection being established, where we initiated the connection with a remote peer.Data for a new connection being established, where we initiated the connection with a remote peer.Per-introducer introduction statesCoordinate the outbound fragments and select the next one to be built.throttleMaintain the outbound fragmentation for resending, for a single message.Big ol' class to do all our packet formatting.Class for passing multiple fragments to buildPacket()SSU2 onlyPull inbound packets from the inbound receiver's queue, figure out what peer session they belong to (if any), authenticate and decrypt them with the appropriate keys, and push them to the appropriate handler.Contain all of the state about a UDP connection to a peer.Contain all of the state about a UDP connection to a peer.Entry points are runTest() to start a new test as Alice, and receiveTest() for all received test packets.Unique ID for a peer - its IP + port, all bundled into a tidy obj.Container of a long array representing set and unset bits.A temporary structure returned from trial decrypt, with methods to access the fields.Base class for blocks to be transmitted.For all callbacks, recommend throwing exceptions only from the handshake.basic helper to parse out peer info from a udp addressCoordinate the low-level datagram socket, creating and managing the UDPSender and UDPReceiver.Basic delivery unit containing the datagram.To read a packet, initialize this reader with the data and fetch out the appropriate fields.parse out the data messageHelp read the PeerTest payloadBaseHelp read the RelayIntro payloadHelp read the RelayRequest payloadHelp read the RelayResponse payloadparse out the confirmed messageHelp read the SessionCreated payloadHelp read the SessionRequest payloadLowest level packet sender, pushes anything on its queue ASAP.The SSU transport -