| Package | Description |
|---|---|
| net.i2p.client.streaming.impl |
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.
|
| net.i2p.data |
These classes define the common data structures used by the various I2P protocols.
|
| net.i2p.i2ptunnel |
Implementation of preconfigured tunnels for both clients and servers, with a comprehensive UI for tunnel management and configuration.
|
| net.i2p.router.transport.udp |
The UDP transport (also known as 'SSU' or Secure Semi-reliable UDP transport)
for I2P, allowing I2P messages to be passed over UDP connections.
|
| net.i2p.util |
Core utility classes and helper functions used throughout the I2P router and applications.
|
| org.klomp.snark |
I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced to add a web UI, DHT support, and other features.
|
| org.klomp.snark.dht |
Distributed Hash Table (DHT) implementation for BitTorrent.
|
| Modifier and Type | Method and Description |
|---|---|
ByteArray |
Packet.acquirePayload() |
ByteArray |
Packet.getPayload()
get the actual payload of the message.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MessageInputStream.messageReceived(long messageId,
ByteArray payload)
Accepts a newly received message block.
|
(package private) void |
ConnectionManager.receivePong(long pingId,
ByteArray payload) |
void |
Packet.setPayload(ByteArray payload) |
| Modifier and Type | Method and Description |
|---|---|
int |
ByteArray.compareTo(ByteArray ba) |
| Modifier and Type | Field and Description |
|---|---|
protected ByteArray |
HTTPResponseOutputStream._headerBuffer |
| Modifier and Type | Method and Description |
|---|---|
ByteArray[] |
InboundMessageState.getFragments()
Returns the array of fragments, throws if already released.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ByteCache.release(ByteArray entry)
Put this structure back onto the available cache for reuse
|
void |
ByteCache.release(ByteArray entry,
boolean shouldZero) |
| Modifier and Type | Method and Description |
|---|---|
ByteArray |
Storage.getPiece(int piece,
int off,
int len)
Returns a byte array containing a portion of the requested piece or null if the storage
doesn't contain the piece yet.
|
ByteArray |
PeerListener.gotRequest(Peer peer,
int piece,
int off,
int len)
Called when the peer wants (part of) a piece from us.
|
ByteArray |
PeerCoordinator.gotRequest(Peer peer,
int piece,
int off,
int len)
Returns a byte array containing the requested piece or null of the piece is unknown.
|
ByteArray |
DataLoader.loadData(int piece,
int begin,
int length)
This is the callback that PeerConnectionOut calls to get the data from disk
|
ByteArray |
PeerState.loadData(int piece,
int begin,
int length)
This is the callback that PeerConnectionOut calls
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
MsgID
Used for both incoming and outgoing message IDs
|
(package private) class |
Token
DHT token management for secure peer verification.
|