Package | Description |
---|---|
net.i2p.client.impl |
Implements the base I2P SDK for developing applications that communicate
through I2P.
|
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.
|
net.i2p.router.dummy |
Dummy versions of things for testing.
|
Modifier and Type | Method and Description |
---|---|
MessageId |
MessageState.getMessageId() |
Modifier and Type | Method and Description |
---|---|
void |
MessageState.setMessageId(MessageId id) |
Modifier and Type | Method and Description |
---|---|
MessageId |
ReportAbuseMessage.getMessageId() |
Modifier and Type | Method and Description |
---|---|
void |
ReportAbuseMessage.setMessageId(MessageId id) |
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) |
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(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) |
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) |