Class PeerStateDestroyed

  • All Implemented Interfaces:
    SSU2Payload.PayloadCallback, SSU2Sender

    class PeerStateDestroyed
    extends Object
    implements SSU2Payload.PayloadCallback, SSU2Sender
    Small, stub version of PeerState2, for handling destroy acks with possible tokens in them. This is the "closing state" as defined in QUIC RFC-9000 section 10.2.1. Unlike in QUIC, we do increment the packet number for every sent destroy packet. Also, we retain the header and body decryption keys, and we do process any tokens received. We only respond when receiving data or a termination with a non-ack reason. Does not extend PeerState2 or PeerState.
    Since:
    0.9.57