## Uses of Class
net.i2p.data.Payload

- Packages that use Payload
  Package | Description
  --- | ---
  net.i2p.data.i2cp | The Invisible Internet Client Protocol (I2CP) allows applications simplified access to I2P network without requiring them to deal with the issues involved with the Invisible Internet Network Protocol (I2NP).
  net.i2p.router | The I2P router application handles I2P network communication.
  net.i2p.router.client | Router-side implementation of the I2CP (I2P Client Protocol) interface for application integration.

- - ### Uses of Payload in net.i2p.data.i2cp

    Fields in net.i2p.data.i2cp declared as Payload
    Modifier and Type | Field and Description
    --- | ---
    `protected Payload` | SendMessageMessage.`_payload`

    Methods in net.i2p.data.i2cp that return Payload
    Modifier and Type | Method and Description
    --- | ---
    `Payload` | MessagePayloadMessage.`getPayload()`
    `Payload` | SendMessageMessage.`getPayload()`

    Methods in net.i2p.data.i2cp with parameters of type Payload
    Modifier and Type | Method and Description
    --- | ---
    `void` | MessagePayloadMessage.`setPayload(Payload payload)` Deprecated. use 3-arg constructor
    `void` | SendMessageMessage.`setPayload(Payload payload)` Deprecated. use 4-arg constructor

    Constructors in net.i2p.data.i2cp with parameters of type Payload
    Constructor and Description
    `MessagePayloadMessage(long sessID, long msgID, Payload payload)` For writing
    `SendMessageExpiresMessage(SessionId sessID, Destination dest, Payload payload, long nonce)` For writing
    `SendMessageExpiresMessage(SessionId sessID, Destination dest, Payload payload, long nonce, DateAndFlags options)` For writing
    `SendMessageMessage(SessionId sessID, Destination dest, Payload payload, long nonce)` For writing

  - ### Uses of Payload in net.i2p.router

    Methods in net.i2p.router that return Payload
    Modifier and Type | Method and Description
    --- | ---
    `Payload` | ClientMessage.`getPayload()` Retrieve the payload of the message.

    Constructors in net.i2p.router with parameters of type Payload
    Constructor and Description
    `ClientMessage(Destination toDest, Payload payload, SessionConfig config, Destination fromDest, MessageId msgID, long messageNonce, long expiration, int flags)` For outbound (locally originated)
    `ClientMessage(Hash toDestHash, Payload payload)` For inbound (from remote dest)

  - ### Uses of Payload in net.i2p.router.client

    Methods in net.i2p.router.client that return Payload
    Modifier and Type | Method and Description
    --- | ---
    `(package private) Payload` | ClientConnectionRunner.`getPayload(MessageId id)` Only call if _dontSendMSMOnReceive is false, otherwise will always be null

    Methods in net.i2p.router.client with parameters of type Payload
    Modifier and Type | Method and Description
    --- | ---
    `(package private) void` | ClientManager.`distributeMessage(ClientConnectionRunner sender, Destination fromDest, Destination toDest, Payload payload, MessageId msgId, long messageNonce, long expiration, int flags)` Distribute message to a local or remote destination.
    `(package private) boolean` | ClientConnectionRunner.`receiveMessage(Destination toDest, Destination fromDest, Payload payload)` Synchronously deliver the message to the current runner Failure indication is available as of 0.9.29.
    `(package private) boolean` | ClientConnectionRunner.`receiveMessage(Hash toHash, Destination fromDest, Payload payload)` Synchronously deliver the message to the current runner Failure indication is available as of 0.9.29.
    `(package private) void` | ClientConnectionRunner.`setPayload(MessageId id, Payload payload)` Only call if _dontSendMSMOnReceive is false

    Constructors in net.i2p.router.client with parameters of type Payload
    Constructor and Description
    `MessageReceivedJob(RouterContext ctx, ClientConnectionRunner runner, Destination toDest, Destination fromDest, Payload payload, boolean sendDirect)`