Uses of Class
net.i2p.router.transport.udp.OutboundMessageState
Packages that use OutboundMessageState
Package
Description
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
-
Uses of OutboundMessageState in net.i2p.router.transport.udp
Fields in net.i2p.router.transport.udp declared as OutboundMessageStateMethods in net.i2p.router.transport.udp that return types with arguments of type OutboundMessageStateModifier and TypeMethodDescription(package private) List<OutboundMessageState> PeerState.allocateSend(long now) Pick one or more messages we want to send and allocate them out of our window Adjusts the retransmit timer if necessary.(package private) List<OutboundMessageState> PeerState2.allocateSend(long now) Overridden to retransmit SessionConfirmed alsoMethods in net.i2p.router.transport.udp with parameters of type OutboundMessageStateModifier and TypeMethodDescriptionvoidOutboundMessageFragments.add(OutboundMessageState state, PeerState peer) Short circuit the OutNetMessage, letting us send the establish complete message reliably.(package private) voidPeerState.add(OutboundMessageState state) TODO should this use a queue, separate from the list of msgs pending an ack? TODO bring back tail drop? TODO priority queue? (we don't implement priorities in SSU now) TODO backlog / pushback / block instead of dropping? Can't really block here.PacketBuilder2.buildPacket(OutboundMessageState state, int fragment, PeerState2 peer) This builds a data packet (PAYLOAD_TYPE_DATA).voidUDPTransport.failed(OutboundMessageState msg) (package private) voidUDPTransport.failed(OutboundMessageState msg, boolean allowPeerFailure) voidUDPTransport.succeeded(OutboundMessageState msg) Method parameters in net.i2p.router.transport.udp with type arguments of type OutboundMessageStateModifier and TypeMethodDescriptionvoidOutboundMessageFragments.add(List<OutboundMessageState> states, PeerState peer) Short circuit the OutNetMessage, letting us send multiple messages reliably and efficiently.Constructors in net.i2p.router.transport.udp with parameters of type OutboundMessageStateModifierConstructorDescriptionFollowFragBlock(OutboundMessageState msg, int frag) Fragment(OutboundMessageState state, int num)