Packages that use InboundEstablishState2
Package
Description
SSU2, the UDP transport: datagram sessions with Holepunch peer discovery, plus the older SSU compatibility code.
Uses of InboundEstablishState2 in net.i2p.router.transport.udp
Methods in net.i2p.router.transport.udp with parameters of type InboundEstablishState2Modifier and TypeMethodDescriptionPacketBuilder2.buildRetryPacket(InboundEstablishState2 state, int terminationCode) Build a new Retry packet for the given peer, encrypting it as necessary.PacketBuilder2.buildSessionCreatedPacket(InboundEstablishState2 state) Build a new SessionCreated packet for the given peer, encrypting it as necessary.private booleanEstablishmentManager.isPeerBanned(InboundEstablishState2 state) Is the peer on the blocklist or banlist?(package private) voidEstablishmentManager.receiveSessionConfirmed(InboundEstablishState2 state, UDPPacket packet) Got a SessionConfirmed, should only happen as part of an inbound establishment.(package private) voidEstablishmentManager.receiveSessionOrTokenRequest(RemoteHostId from, InboundEstablishState2 state, UDPPacket packet) Got a SessionRequest OR a TokenRequest (initiates an inbound establishment)private booleanPacketHandler.receiveSSU2Packet(RemoteHostId from, UDPPacket packet, InboundEstablishState2 state) Decrypt the header and hand off to the state for processing.