Package | Description |
---|---|
net.i2p.data.i2cp |
The Invisible Internet Client Protocol (I2CP) allows applications simplified access to
the 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 the I2P network communication.
|
net.i2p.router.client |
Implements the router side of the I2CP interface,
which is the API for applications to send and receive data through the router.
|
Modifier and Type | Field and Description |
---|---|
protected Payload |
SendMessageMessage._payload |
Modifier and Type | Method and Description |
---|---|
Payload |
SendMessageMessage.getPayload() |
Payload |
MessagePayloadMessage.getPayload() |
Modifier and Type | Method and Description |
---|---|
void |
SendMessageMessage.setPayload(Payload payload) |
void |
MessagePayloadMessage.setPayload(Payload payload) |
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(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) |