Uses of Class
net.i2p.router.transport.udp.UDPTransport
Package
Description
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
-
Uses of UDPTransport in net.i2p.router.transport.udp
Modifier and TypeMethodDescription(package private) UDPTransport
PeerState.getTransport()
Convenience for OutboundMessageState so it can fail itselfModifier and TypeMethodDescriptionPacketBuilder.buildRelayRequest
(UDPTransport transport, EstablishmentManager emgr, OutboundEstablishState state, SessionKey ourIntroKey) build intro packets for each of the published introducersModifierConstructorDescriptionEstablishmentManager
(RouterContext ctx, UDPTransport transport) InboundEstablishState2
(RouterContext ctx, UDPTransport transport, UDPPacket packet) Start a new handshake with the given incoming packet, which must be a Session Request or Token Request.InboundMessageFragments
(RouterContext ctx, OutboundMessageFragments outbound, UDPTransport transport) IntroductionManager
(RouterContext ctx, UDPTransport transport) MessageReceiver
(RouterContext ctx, UDPTransport transport) OutboundEstablishState2
(RouterContext ctx, UDPTransport transport, RemoteHostId claimedAddress, RemoteHostId remoteHostId, RouterIdentity remotePeer, boolean needIntroduction, SessionKey introKey, RouterAddress ra, UDPAddress addr) Prepare to start a new handshake with the given peer.OutboundMessageFragments
(RouterContext ctx, UDPTransport transport, OutboundMessageFragments.ActiveThrottle throttle) PacketBuilder
(RouterContext ctx, UDPTransport transport) No state, all methods are thread-safe.PacketBuilder2
(RouterContext ctx, UDPTransport transport) No state, all methods are thread-safe.(package private)
PacketHandler
(RouterContext ctx, UDPTransport transport, boolean enableSSU2, EstablishmentManager establisher, InboundMessageFragments inbound, PeerTestManager testManager, IntroductionManager introManager) PeerState
(RouterContext ctx, UDPTransport transport, byte[] remoteIP, int remotePort, Hash remotePeer, boolean isInbound, int rtt, SessionKey cipherKey, SessionKey macKey) SSU 1 only.protected
PeerState
(RouterContext ctx, UDPTransport transport, InetSocketAddress addr, Hash remotePeer, boolean isInbound, int rtt) For SSU2PeerState2
(RouterContext ctx, UDPTransport transport, InetSocketAddress remoteAddress, Hash remotePeer, boolean isInbound, int rtt, CipherState sendCha, CipherState rcvCha, long sendID, long rcvID, byte[] sendHdrKey1, byte[] sendHdrKey2, byte[] rcvHdrKey2) (package private)
PeerTestEvent
(RouterContext ctx, UDPTransport udp, PeerTestManager ptmgr) PeerTestManager
(RouterContext context, UDPTransport transport) Have seen peer tests (as Alice) get stuck (_currentTest != null) so I've thrown some synchronizization on the methods; don't know the root cause or whether this fixes itUDPEndpoint
(RouterContext ctx, UDPTransport transport, int listenPort, InetAddress bindAddress) UDPReceiver
(RouterContext ctx, UDPTransport transport, DatagramSocket socket, String name, SocketListener lsnr)