| Package | Description |
|---|---|
| net.i2p.client.impl | Internal implementation of the I2P client SDK, providing the client
side of the I2CP protocol for applications communicating through I2P. |
| 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. |
| net.i2p.router.dummy | Dummy implementations and stub classes for testing purposes. |
| Modifier and Type | Method and Description |
|---|---|
MessageId | MessageState.getMessageId()Return the message ID. |
| Modifier and Type | Method and Description |
|---|---|
void | MessageState.setMessageId(MessageId id)Set the message ID. |
| Modifier and Type | Method and Description |
|---|---|
MessageId | ReportAbuseMessage.getMessageId()Message id. |
| Modifier and Type | Method and Description |
|---|---|
void | ReportAbuseMessage.setMessageId(MessageId id)setMessageId. |
| Modifier and Type | Method and Description |
|---|---|
MessageId | ClientMessage.getMessageId()Valid for outbound; null for inbound. |
| Modifier and Type | Method and Description |
|---|---|
abstract void | ClientManagerFacade.messageDeliveryStatusUpdate(Destination fromDest,
MessageId id,
long messageNonce,
int status)Update the delivery status of a 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) |
| Modifier and Type | Method and Description |
|---|---|
(package private) MessageId | ClientConnectionRunner.distributeMessage(SendMessageMessage message)Distribute the message. |
| Modifier and Type | Method and Description |
|---|---|
(package private) void | ClientConnectionRunner.ackSendMessage(SessionId sid,
MessageId id,
long nonce)Send a notification to the client that their message (id specified) was accepted
for delivery (but not necessarily delivered)
Doesn't do anything if i2cp.messageReliability = "none"
or if the nonce is 0. |
(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) Payload | ClientConnectionRunner.getPayload(MessageId id)Only call if _dontSendMSMOnReceive is false, otherwise will always be null |
void | ClientManager.messageDeliveryStatusUpdate(Destination fromDest,
MessageId id,
long messageNonce,
int status)Update the message delivery status for a client. |
void | ClientManagerFacadeImpl.messageDeliveryStatusUpdate(Destination fromDest,
MessageId id,
long messageNonce,
int status) |
(package private) void | ClientConnectionRunner.removePayload(MessageId id)Only call if _dontSendMSMOnReceive is false |
(package private) void | ClientConnectionRunner.setPayload(MessageId id,
Payload payload)Only call if _dontSendMSMOnReceive is false |
(package private) void | ClientConnectionRunner.updateMessageDeliveryStatus(Destination dest,
MessageId id,
long messageNonce,
int status)Send a notification to the client that their message (id specified) was
delivered (or failed delivery)
Note that this sends the Guaranteed status codes, even though we only support best effort. |
| Modifier and Type | Method and Description |
|---|---|
void | DummyClientManagerFacade.messageDeliveryStatusUpdate(Destination fromDest,
MessageId id,
long msgNonce,
int status) |