| 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.
|
| Modifier and Type | Field and Description |
|---|---|
protected Payload |
SendMessageMessage._payload |
| Modifier and Type | Method and Description |
|---|---|
Payload |
MessagePayloadMessage.getPayload() |
Payload |
SendMessageMessage.getPayload() |
| 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
|
| 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
|
| Modifier and Type | Method and Description |
|---|---|
Payload |
ClientMessage.getPayload()
Retrieve the payload of the message.
|
| 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)
|
| Modifier and Type | Method and Description |
|---|---|
(package private) Payload |
ClientConnectionRunner.getPayload(MessageId id)
Only call if _dontSendMSMOnReceive is false, otherwise will always be null
|
| 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
|
| Constructor and Description |
|---|
MessageReceivedJob(RouterContext ctx,
ClientConnectionRunner runner,
Destination toDest,
Destination fromDest,
Payload payload,
boolean sendDirect) |