| Package | Description |
|---|---|
| net.i2p.data.router |
Router-specific data structures and identity management classes for I2P.
|
| net.i2p.router |
The I2P router application handles I2P network communication.
|
| net.i2p.router.message |
Garlic message creation, parsing, and source routing for I2P communications.
|
| net.i2p.router.networkdb |
Network database management and coordination for the I2P distributed hash table.
|
| net.i2p.router.networkdb.kademlia |
Kademlia DHT implementation and floodfill router functionality for I2P.
|
| net.i2p.router.startup |
The I2P startup package loads configuration when I2P is started.
|
| net.i2p.router.transport |
Transport layer implementations and management for I2P network communication.
|
| net.i2p.router.transport.ntcp |
The NTCP (New TCP) transport for I2P, allowing I2P messages to be passed
over TCP connections.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
RouterIdentity |
RouterInfo.getIdentity()
Retrieve the identity of the router represented
|
RouterIdentity |
RouterPrivateKeyFile.getRouterIdentity()
Read it in from the file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RouterInfo.setIdentity(RouterIdentity ident)
Configure the identity of the router represented
|
| Modifier and Type | Method and Description |
|---|---|
RouterIdentity |
Router.getRouterIdentity()
Our current router identity.
|
| Modifier and Type | Method and Description |
|---|---|
int |
InNetMessagePool.add(I2NPMessage messageBody,
RouterIdentity fromRouter,
Hash fromRouterHash)
Adds a new inbound message to be processed.
|
int |
InNetMessagePool.add(I2NPMessage messageBody,
RouterIdentity fromRouter,
Hash fromRouterHash,
long msgIDBloomXor)
Adds a new inbound message with optional bloom filter XOR id.
|
Job |
HandlerJobBuilder.createJob(I2NPMessage receivedMessage,
RouterIdentity from,
Hash fromHash)
Create a new job to handle the received message.
|
| Modifier and Type | Method and Description |
|---|---|
Job |
GarlicMessageHandler.createJob(I2NPMessage receivedMessage,
RouterIdentity from,
Hash fromHash) |
| Constructor and Description |
|---|
HandleGarlicMessageJob(RouterContext context,
GarlicMessage msg,
RouterIdentity from,
Hash fromHash,
long msgIDBloomXorLocal,
long msgIDBloomXorRouter,
long msgIDBloomXorTunnel)
Constructs a job to handle an inbound garlic message.
|
| Constructor and Description |
|---|
HandleDatabaseLookupMessageJob(RouterContext ctx,
DatabaseLookupMessage receivedMessage,
RouterIdentity from,
Hash fromHash,
long msgIDBloomXor) |
| Modifier and Type | Method and Description |
|---|---|
Job |
FloodfillDatabaseStoreMessageHandler.createJob(I2NPMessage receivedMessage,
RouterIdentity from,
Hash fromHash) |
Job |
FloodfillDatabaseLookupMessageHandler.createJob(I2NPMessage receivedMessage,
RouterIdentity from,
Hash fromHash)
Creates a job to handle an incoming DatabaseLookupMessage, or returns null if the lookup should be dropped.
|
| Constructor and Description |
|---|
HandleFloodfillDatabaseLookupMessageJob(RouterContext ctx,
DatabaseLookupMessage receivedMessage,
RouterIdentity from,
Hash fromHash,
long msgIDBloomXor) |
HandleFloodfillDatabaseStoreMessageJob(RouterContext ctx,
DatabaseStoreMessage receivedMessage,
RouterIdentity from,
Hash fromHash,
FloodfillNetworkDatabaseFacade facade,
long msgIDBloomXor) |
| Modifier and Type | Field and Description |
|---|---|
RouterIdentity |
LoadRouterInfoJob.KeyData.routerIdentity |
| Constructor and Description |
|---|
KeyData(RouterIdentity ri,
PrivateKey pk,
SigningPrivateKey spk) |
| Modifier and Type | Method and Description |
|---|---|
void |
TransportEventListener.messageReceived(I2NPMessage message,
RouterIdentity fromRouter,
Hash fromRouterHash)
Message received
|
void |
TransportManager.messageReceived(I2NPMessage message,
RouterIdentity fromRouter,
Hash fromRouterHash)
Handle incoming I2NP message from a peer.
|
void |
TransportImpl.messageReceived(I2NPMessage inMsg,
RouterIdentity remoteIdent,
Hash remoteIdentHash,
long msToReceive,
int bytesReceived)
Message received from the I2NPMessageReader - send it to the listener
|
| Modifier and Type | Method and Description |
|---|---|
RouterIdentity |
NTCPConnection.getRemotePeer()
Valid for outbound; valid for inbound after handshake
|
| Modifier and Type | Method and Description |
|---|---|
void |
NTCPConnection.setRemotePeer(RouterIdentity ident)
Valid for outbound; valid for inbound after handshake
|
| Constructor and Description |
|---|
NTCPConnection(RouterContext ctx,
NTCPTransport transport,
RouterIdentity remotePeer,
RouterAddress remAddr,
int version)
Create an outbound unconnected NTCP connection.
|
| Modifier and Type | Field and Description |
|---|---|
protected RouterIdentity |
InboundEstablishState._receivedConfirmedIdentity |
protected RouterIdentity |
InboundEstablishState._receivedUnconfirmedIdentity |
protected RouterIdentity |
OutboundEstablishState._remotePeer |
| Modifier and Type | Method and Description |
|---|---|
RouterIdentity |
InboundEstablishState.getConfirmedIdentity()
Who is Alice (null if forged/unknown)
Note that this isn't really confirmed - see below.
|
RouterIdentity |
OutboundEstablishState.getRemoteIdentity() |
| Modifier and Type | Method and Description |
|---|---|
void |
UDPTransport.messageReceived(I2NPMessage inMsg,
RouterIdentity remoteIdent,
Hash remoteIdentHash,
long msToReceive,
int bytesReceived) |
| Constructor and Description |
|---|
OutboundEstablishState(RouterContext ctx,
RemoteHostId claimedAddress,
RemoteHostId remoteHostId,
RouterIdentity remotePeer,
boolean needIntroduction,
SessionKey introKey,
UDPAddress addr)
For SSU2
|
OutboundEstablishState2(RouterContext ctx,
UDPTransport transport,
RemoteHostId claimedAddress,
RemoteHostId remoteHostId,
RouterIdentity remotePeer,
boolean needIntroduction,
SessionKey introKey,
RouterAddress ra,
UDPAddress addr)
Prepare to start a new handshake with the given peer.
|