## Uses of Class
protocolP2P.Payload

- Packages that use Payload
  Package | Description
  --- | ---
  protocolP2P |

- - ### Uses of Payload in protocolP2P

    Subclasses of Payload in protocolP2P
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `FileList` | Representation of payload for list response.
    `class` | `FilePart` | Representation of payload for load response.
    `class` | `LoadRequest` | Representation of payload for load request.

    Methods in protocolP2P that return Payload
    Modifier and Type | Method | Description
    --- | --- | ---
    `Payload` | ProtocolP2PDatagram.`getPayload()` | Returns Payload associated with the datagram.

    Constructors in protocolP2P with parameters of type Payload
    Constructor | Description
    --- | ---
    `ProtocolP2PDatagram​(Payload payload)` | Constructor with payload parameter (typically used when sending datagram).