Packages that use SSU2Bitfield
Package
Description
SSU2, the UDP transport: datagram sessions with Holepunch peer discovery, plus the older SSU compatibility code.
Uses of SSU2Bitfield in net.i2p.router.transport.udp
Fields in net.i2p.router.transport.udp declared as SSU2BitfieldModifier and TypeFieldDescriptionprivate final SSU2BitfieldPeerState2._ackedMessagesPS1 has _ackedMessages which is a map of message ID to sequence number.private final SSU2BitfieldPeerState2._receivedMessagesBitfield of received message numbers.private final SSU2BitfieldPeerStateDestroyed._receivedMessagesBitfield of received message numbers.Methods in net.i2p.router.transport.udp that return SSU2BitfieldModifier and TypeMethodDescriptionstatic SSU2BitfieldSSU2Bitfield.fromACKBlock(long thru, int acnt, byte[] ranges, int rangeCount) Rebuild a bitfield from a received ACK block, rejecting a block whose implied span would push the offset below zero or exceedSSU2Bitfield.MAX_ACK_SPAN.PeerState2.getAckedMessages()Bitfield of messages acknowledged to the peer.PeerStateDestroyed.getAckedMessages()No-op, we don't care what was acked.SSU2Sender.getAckedMessages()Bitfield of acked messages.PeerState2.getReceivedMessages()Bitfield of messages received from the peer.PeerStateDestroyed.getReceivedMessages()The received messages bitfield.SSU2Sender.getReceivedMessages()Bitfield of received messages.Methods in net.i2p.router.transport.udp with parameters of type SSU2BitfieldModifier and TypeMethodDescriptionvoidSSU2Bitfield.forEachAndNot(SSU2Bitfield bf2, SSU2Bitfield.Callback cb) Callback for all bits set in this bitfield but not set in bf2.