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.i2np |
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
|
net.i2p.i2ptunnel | |
net.i2p.router.transport.crypto | |
net.i2p.router.transport.udp |
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
|
net.i2p.router.tunnel | |
net.i2p.util |
These classes define the several useful utilities used
throughout the router and applications.
|
org.klomp.snark | |
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).
|
void |
Packet.setPayload(ByteArray payload) |
Modifier and Type | Field and Description |
---|---|
protected ByteArray[] |
TunnelBuildMessageBase._records |
Modifier and Type | Method and Description |
---|---|
ByteArray |
BuildRequestRecord.getData() |
ByteArray |
TunnelBuildMessageBase.getRecord(int index) |
Modifier and Type | Method and Description |
---|---|
boolean |
BuildRequestRecord.decryptRecord(I2PAppContext ctx,
PrivateKey ourKey,
Hash ourIdent,
ByteArray encryptedRecord)
Decrypt the data from the specified record, writing the decrypted record into this instance's
buffer (but not overwriting the array contained within the old buffer)
|
void |
BuildRequestRecord.setData(ByteArray data) |
void |
TunnelBuildMessageBase.setRecord(int index,
ByteArray record) |
Constructor and Description |
---|
BuildRequestRecord(ByteArray data) |
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 |
HopConfig.getReplyIV()
iv used to encrypt the reply sent for the new tunnel creation crypto
|
Modifier and Type | Method and Description |
---|---|
void |
HopConfig.setReplyIV(ByteArray iv) |
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 |
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
|
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
|