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, both for clients and servers,
and a UI for adding more and editing the configuration.
|
net.i2p.router.transport.crypto |
DH key generation.
|
net.i2p.router.transport.udp |
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
|
net.i2p.util |
These classes define the several useful utilities used
throughout the 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 |
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)
A new message has arrived - toss it on the appropriate queue (moving
previously pending messages to the ready queue if it fills the gap, etc).
|
(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 |
DHSessionKeyBuilder.getExtraBytes()
Retrieve the extra bytes beyond the session key resulting from the DH exchange.
|
Modifier and Type | Method and Description |
---|---|
ByteArray[] |
InboundMessageState.getFragments() |
Modifier and Type | Method and Description |
---|---|
ByteArray |
ByteCache.acquire()
Get the next available structure, either from the cache or a brand new one.
|
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 |
PeerState.loadData(int piece,
int begin,
int length)
This is the callback that PeerConnectionOut calls
|
ByteArray |
DataLoader.loadData(int piece,
int begin,
int length)
This is the callback that PeerConnectionOut calls to get the data from disk
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
MsgID
Used for both incoming and outgoing message IDs
|
(package private) class |
Token
Used for Both outgoing and incoming tokens
|