Packages that use UDPAddress
Package
Description
SSU2, the UDP transport: datagram sessions with Holepunch peer discovery, plus the older SSU compatibility code.
Uses of UDPAddress in net.i2p.router.transport.udp
Fields in net.i2p.router.transport.udp declared as UDPAddressModifier and TypeFieldDescriptionprivate final UDPAddressOutboundEstablishState._remoteAddressRemote address.Methods in net.i2p.router.transport.udp that return UDPAddressModifier and TypeMethodDescriptionOutboundEstablishState.getRemoteAddress()Remote address of the peer.Methods in net.i2p.router.transport.udp with parameters of type UDPAddressModifier and TypeMethodDescriptionprivate OutboundEstablishStateEstablishmentManager.createOutboundState(OutNetMessage msg, RemoteHostId to, RemoteHostId maybeTo, RouterIdentity toIdentity, boolean isIndirect, UDPAddress addr, RouterAddress ra, Hash toHash, String truncHash, String ipAddress, int maybePort, long now, boolean isBanned) Create a new outbound establish state for the peer, after verifying that its introducers, MTU, and introduction key are usable.(package private) static booleanEstablishmentManager.hasValidV2Introducer(UDPAddress addr, long now) Does the SSU2 address advertise at least one usable v2 introducer, meaning a hash that hasn't expired (expiration 0 means never expires)? Used byEstablishmentManager.createOutboundState(OutNetMessage, RemoteHostId, RemoteHostId, RouterIdentity, boolean, UDPAddress, RouterAddress, Hash, String, String, int, long, boolean)before building a state for an indirect peer, since without any current introducer the establishment can never succeed.Constructors in net.i2p.router.transport.udp with parameters of type UDPAddressModifierConstructorDescriptionprotectedOutboundEstablishState(RouterContext ctx, RemoteHostId claimedAddress, RemoteHostId remoteHostId, RouterIdentity remotePeer, boolean needIntroduction, SessionKey introKey, UDPAddress addr) For SSU2.OutboundEstablishState2(RouterContext ctx, UDPTransport transport, RemoteHostId claimedAddress, RemoteHostId remoteHostId, RouterIdentity remotePeer, boolean needIntroduction, SessionKey introKey, RouterAddress ra, UDPAddress addr, int version) Prepare to start a new handshake with the given peer.