| Package | Description |
|---|---|
| net.i2p.data.i2np | This package defines the low-level messages sent between routers,
called Invisible Internet Network Protocol (I2NP). |
| net.i2p.router.message | Garlic message creation, parsing, and source routing for I2P communications. |
| net.i2p.router.tunnel | Core tunnel management, message processing, and encryption for I2P's anonymous routing system. |
| Modifier and Type | Field and Description |
|---|---|
static DeliveryInstructions | DeliveryInstructions.LOCALImmutable local instructions, no options |
| Modifier and Type | Method and Description |
|---|---|
static DeliveryInstructions | DeliveryInstructions.create(byte[] data,
int offset)Returns immutable local instructions, or new |
DeliveryInstructions | GarlicClove.getInstructions() |
| Modifier and Type | Method and Description |
|---|---|
void | GarlicClove.setInstructions(DeliveryInstructions instr)setInstructions. |
| Modifier and Type | Method and Description |
|---|---|
DeliveryInstructions | GarlicConfig.getDeliveryInstructions()Specify how the I2NPMessage in the clove should be handled. |
| Modifier and Type | Method and Description |
|---|---|
void | GarlicMessageReceiver.CloveReceiver.handleClove(DeliveryInstructions instructions,
I2NPMessage data)Handles a decrypted garlic clove. |
void | HandleGarlicMessageJob.handleClove(DeliveryInstructions instructions,
I2NPMessage data)Handle each garlic clove based on its delivery instructions. |
| Constructor and Description |
|---|
GarlicConfig(Certificate cert,
long id,
long expiration,
DeliveryInstructions di)Creates a new GarlicConfig |
GarlicConfig(List<GarlicConfig> cloveConfigs,
Certificate cert,
long id,
long expiration,
DeliveryInstructions di)Creates a new GarlicConfig with existing clove configs |
PayloadGarlicConfig(Certificate cert,
long id,
long expiration,
DeliveryInstructions di,
I2NPMessage message) |
| Modifier and Type | Method and Description |
|---|---|
void | InboundMessageDistributor.handleClove(DeliveryInstructions instructions,
I2NPMessage data)Handle a clove removed from the garlic message |