## Uses of Class
net.i2p.router.transport.udp.SSU2Payload.Block

- Packages that use SSU2Payload.Block
  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.Block in net.i2p.router.transport.udp

    Subclasses of SSU2Payload.Block in net.i2p.router.transport.udp
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `SSU2Payload.AckBlock` Block containing acknowledgment data.
    `static class` | `SSU2Payload.AddressBlock` Block containing IP address and port information.
    `static class` | `SSU2Payload.DateTimeBlock` Block containing the current date and time.
    `static class` | `SSU2Payload.FirstFragBlock` Same format as I2NPBlock
    `static class` | `SSU2Payload.FollowFragBlock` Follow-on fragment block for SSU2 payload.
    `static class` | `SSU2Payload.I2NPBlock` Block containing I2NP message data.
    `static class` | `SSU2Payload.NewTokenBlock` Block containing a new session token.
    `static class` | `SSU2Payload.OptionsBlock` Block containing session options.
    `static class` | `SSU2Payload.PaddingBlock` Block containing padding data.
    `static class` | `SSU2Payload.PathChallengeBlock` Path challenge block for SSU2 payload.
    `static class` | `SSU2Payload.PathResponseBlock` Path response block for SSU2 payload.
    `static class` | `SSU2Payload.PeerTestBlock` Block containing peer test data.
    `static class` | `SSU2Payload.RelayIntroBlock` Block containing relay introduction data.
    `static class` | `SSU2Payload.RelayRequestBlock` Block containing relay request data.
    `static class` | `SSU2Payload.RelayResponseBlock` Block containing relay response data.
    `static class` | `SSU2Payload.RelayTagBlock` Block containing relay tag data.
    `static class` | `SSU2Payload.RelayTagRequestBlock` Block containing relay tag request data.
    `static class` | `SSU2Payload.RIBlock` Block containing router information data.
    `static class` | `SSU2Payload.TerminationBlock` Block containing session termination data.

    Methods in net.i2p.router.transport.udp with parameters of type SSU2Payload.Block
    Modifier and Type | Method and Description
    --- | ---
    `UDPPacket` | PacketBuilder2.`buildPeerTestToAlice(int code, Hash charlieHash, byte[] signedData, SSU2Payload.Block riBlock, PeerState2 alice)` Build a packet as Bob to Alice, with the response from Charlie, or a rejection by Bob.
    `UDPPacket` | PacketBuilder2.`buildPeerTestToCharlie(Hash aliceHash, byte[] signedData, SSU2Payload.Block riBlock, PeerState2 charlie)` Build a packet as Bob to Charlie to help test Alice.
    `(package private) UDPPacket` | PacketBuilder2.`buildRelayIntro(byte[] signedData, SSU2Payload.Block riBlock, PeerState2 charlie)` From Bob to Charlie.

    Method parameters in net.i2p.router.transport.udp with type arguments of type SSU2Payload.Block
    Modifier and Type | Method and Description
    --- | ---
    `UDPPacket` | PacketBuilder2.`buildPacket(List<PacketBuilder.Fragment> fragments, List<SSU2Payload.Block> otherBlocks, SSU2Sender peer)`
    `static int` | SSU2Payload.`writePayload(byte[] payload, int off, List<SSU2Payload.Block> blocks)`