Uses of Class
net.i2p.data.router.RouterIdentity
Package
Description
Classes formerly in net.i2p.data but moved here as they are only used by the router.
The I2P router application handles the I2P network communication.
Creates and parses garlic messages.
A couple of classes, but most things are in kademlia.
The network database, including implementation of floodfills.
The I2P startup package loads the configuration when I2P is started.
The transport system allows the usage of communication layers that are below I2P in the stack, on which I2P messages are sent.
The NTCP transport allows passing I2P messages on top of TCP.
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
-
Uses of RouterIdentity in net.i2p.data.router
Modifier and TypeMethodDescriptionRouterInfo.getIdentity()
Retrieve the identity of the router representedRouterPrivateKeyFile.getRouterIdentity()
Read it in from the file.Modifier and TypeMethodDescriptionvoid
RouterInfo.setIdentity
(RouterIdentity ident) Configure the identity of the router represented -
Uses of RouterIdentity in net.i2p.router
Modifier and TypeMethodDescriptionint
InNetMessagePool.add
(I2NPMessage messageBody, RouterIdentity fromRouter, Hash fromRouterHash) Add a new message to the pool.HandlerJobBuilder.createJob
(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash) Create a new job to handle the received message. -
Uses of RouterIdentity in net.i2p.router.message
Modifier and TypeMethodDescriptionGarlicMessageHandler.createJob
(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash) ModifierConstructorDescriptionHandleGarlicMessageJob
(RouterContext context, GarlicMessage msg, RouterIdentity from, Hash fromHash) -
Uses of RouterIdentity in net.i2p.router.networkdb
ModifierConstructorDescriptionHandleDatabaseLookupMessageJob
(RouterContext ctx, DatabaseLookupMessage receivedMessage, RouterIdentity from, Hash fromHash) -
Uses of RouterIdentity in net.i2p.router.networkdb.kademlia
Modifier and TypeMethodDescriptionFloodfillDatabaseLookupMessageHandler.createJob
(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash) FloodfillDatabaseStoreMessageHandler.createJob
(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash) ModifierConstructorDescriptionHandleFloodfillDatabaseLookupMessageJob
(RouterContext ctx, DatabaseLookupMessage receivedMessage, RouterIdentity from, Hash fromHash) HandleFloodfillDatabaseStoreMessageJob
(RouterContext ctx, DatabaseStoreMessage receivedMessage, RouterIdentity from, Hash fromHash, FloodfillNetworkDatabaseFacade facade) -
Uses of RouterIdentity in net.i2p.router.startup
-
Uses of RouterIdentity in net.i2p.router.transport
Modifier and TypeMethodDescriptionvoid
TransportEventListener.messageReceived
(I2NPMessage message, RouterIdentity fromRouter, Hash fromRouterHash) Message receivedvoid
TransportImpl.messageReceived
(I2NPMessage inMsg, RouterIdentity remoteIdent, Hash remoteIdentHash, long msToReceive, int bytesReceived) Message received from the I2NPMessageReader - send it to the listenervoid
TransportManager.messageReceived
(I2NPMessage message, RouterIdentity fromRouter, Hash fromRouterHash) Message received -
Uses of RouterIdentity in net.i2p.router.transport.ntcp
Modifier and TypeMethodDescriptionNTCPConnection.getRemotePeer()
Valid for outbound; valid for inbound after handshakeModifier and TypeMethodDescriptionvoid
NTCPConnection.setRemotePeer
(RouterIdentity ident) Valid for outbound; valid for inbound after handshakeModifierConstructorDescriptionNTCPConnection
(RouterContext ctx, NTCPTransport transport, RouterIdentity remotePeer, RouterAddress remAddr, int version) Create an outbound unconnected NTCP connection. -
Uses of RouterIdentity in net.i2p.router.transport.udp
Modifier and TypeFieldDescriptionprotected RouterIdentity
InboundEstablishState._receivedConfirmedIdentity
protected RouterIdentity
InboundEstablishState._receivedUnconfirmedIdentity
protected final RouterIdentity
OutboundEstablishState._remotePeer
Modifier and TypeMethodDescriptionInboundEstablishState.getConfirmedIdentity()
Who is Alice (null if forged/unknown) Note that this isn't really confirmed - see below.OutboundEstablishState.getRemoteIdentity()
Modifier and TypeMethodDescriptionPacketBuilder.buildSessionConfirmedPackets
(OutboundEstablishState state, RouterIdentity ourIdentity) Build a new series of SessionConfirmed packets for the given peer, encrypting it as necessary.void
UDPTransport.messageReceived
(I2NPMessage inMsg, RouterIdentity remoteIdent, Hash remoteIdentHash, long msToReceive, int bytesReceived) infinite loop public RouterAddress getCurrentAddress() { if (needsRebuild()) rebuildExternalAddress(false); return super.getCurrentAddress(); }ModifierConstructorDescriptionOutboundEstablishState
(RouterContext ctx, RemoteHostId claimedAddress, RemoteHostId remoteHostId, RouterIdentity remotePeer, boolean allowExtendedOptions, boolean needIntroduction, SessionKey introKey, UDPAddress addr, DHSessionKeyBuilder.Factory dh) protected
OutboundEstablishState
(RouterContext ctx, RemoteHostId claimedAddress, RemoteHostId remoteHostId, RouterIdentity remotePeer, boolean needIntroduction, SessionKey introKey, UDPAddress addr) For SSU2OutboundEstablishState2
(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.