パッケージ | 説明 |
---|---|
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 |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
ByteArray |
Packet.acquirePayload() |
|
ByteArray |
Packet.getPayload() |
get the actual payload of the message.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
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) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
int |
ByteArray.compareTo(ByteArray ba) |
修飾子とタイプ | フィールド | 説明 |
---|---|---|
protected ByteArray |
HTTPResponseOutputStream._headerBuffer |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
ByteArray |
DHSessionKeyBuilder.getExtraBytes() |
Retrieve the extra bytes beyond the session key resulting from the DH exchange.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
ByteArray[] |
InboundMessageState.getFragments() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
ByteArray |
ByteCache.acquire() |
Get the next available structure, either from the cache or a brand new one.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
ByteCache.release(ByteArray entry) |
Put this structure back onto the available cache for reuse
|
void |
ByteCache.release(ByteArray entry,
boolean shouldZero) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
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 |
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 |
PeerListener.gotRequest(Peer peer,
int piece,
int off,
int len) |
Called when the peer wants (part of) a piece from us.
|
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
|
修飾子とタイプ | クラス | 説明 |
---|---|---|
(package private) class |
MsgID |
Used for both incoming and outgoing message IDs
|
(package private) class |
Token |
Used for Both outgoing and incoming tokens
|