## Uses of Interface
net.i2p.router.transport.udp.SSU2Payload.PayloadCallback

- Packages that use SSU2Payload.PayloadCallback
  Package | Description
  --- | ---
  net.i2p.router.transport.udp | The UDP transport (also known as 'SSU' or Secure Semi-reliable UDP transport) for I2P, allowing I2P messages to be passed over UDP connections.

- - ### Uses of SSU2Payload.PayloadCallback in net.i2p.router.transport.udp

    Classes in net.i2p.router.transport.udp that implement SSU2Payload.PayloadCallback
    Modifier and Type | Class and Description
    --- | ---
    `(package private) class` | `InboundEstablishState2` Data for a new connection being established, where the remote peer has initiated the connection with us.
    `(package private) class` | `OutboundEstablishState2` Data for a new connection being established, where we initiated the connection with a remote peer.
    `class` | `PeerState2` Contain all of the state about a UDP connection to a peer.
    `(package private) class` | `PeerStateDestroyed` Small, stub version of PeerState2, for handling destroy acks with possible tokens in them.

    Methods in net.i2p.router.transport.udp with parameters of type SSU2Payload.PayloadCallback
    Modifier and Type | Method and Description
    --- | ---
    `static int` | SSU2Payload.`processPayload(I2PAppContext ctx, SSU2Payload.PayloadCallback cb, byte[] payload, int off, int length, boolean isHandshake, RemoteHostId from)` Incoming payload.