Uses of Class
net.i2p.data.router.RouterIdentity
Package | Description |
---|---|
net.i2p.data.router |
Classes formerly in net.i2p.data but moved here as they are only used by the router.
|
net.i2p.router |
The I2P router application handles the I2P network communication.
|
net.i2p.router.message |
Creates and parses garlic messages.
|
net.i2p.router.networkdb |
A couple of classes, but most things are in kademlia.
|
net.i2p.router.networkdb.kademlia |
The network database, including implementation of floodfills.
|
net.i2p.router.startup |
The I2P startup package loads the configuration when I2P is started.
|
net.i2p.router.transport |
The transport system allows the usage of communication layers that are below I2P in the stack, on which I2P messages are sent.
|
net.i2p.router.transport.ntcp |
The NTCP transport allows passing I2P messages on top of TCP.
|
net.i2p.router.transport.udp |
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
|
-
Uses of RouterIdentity in net.i2p.data.router
Methods in net.i2p.data.router that return RouterIdentity Modifier and Type Method Description RouterIdentity
RouterInfo. getIdentity()
Retrieve the identity of the router representedRouterIdentity
RouterPrivateKeyFile. getRouterIdentity()
Read it in from the file.Methods in net.i2p.data.router with parameters of type RouterIdentity Modifier and Type Method Description void
RouterInfo. setIdentity(RouterIdentity ident)
Configure the identity of the router represented -
Uses of RouterIdentity in net.i2p.router
Methods in net.i2p.router with parameters of type RouterIdentity Modifier and Type Method Description int
InNetMessagePool. add(I2NPMessage messageBody, RouterIdentity fromRouter, Hash fromRouterHash)
Add a new message to the pool.Job
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
Methods in net.i2p.router.message with parameters of type RouterIdentity Modifier and Type Method Description Job
GarlicMessageHandler. createJob(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash)
Constructors in net.i2p.router.message with parameters of type RouterIdentity Constructor Description HandleGarlicMessageJob(RouterContext context, GarlicMessage msg, RouterIdentity from, Hash fromHash)
-
Uses of RouterIdentity in net.i2p.router.networkdb
Constructors in net.i2p.router.networkdb with parameters of type RouterIdentity Constructor Description HandleDatabaseLookupMessageJob(RouterContext ctx, DatabaseLookupMessage receivedMessage, RouterIdentity from, Hash fromHash)
-
Uses of RouterIdentity in net.i2p.router.networkdb.kademlia
Methods in net.i2p.router.networkdb.kademlia with parameters of type RouterIdentity Modifier and Type Method Description Job
FloodfillDatabaseLookupMessageHandler. createJob(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash)
Job
FloodfillDatabaseStoreMessageHandler. createJob(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash)
Constructors in net.i2p.router.networkdb.kademlia with parameters of type RouterIdentity Constructor Description HandleFloodfillDatabaseLookupMessageJob(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
Fields in net.i2p.router.startup declared as RouterIdentity Modifier and Type Field Description RouterIdentity
LoadRouterInfoJob.KeyData. routerIdentity
Constructors in net.i2p.router.startup with parameters of type RouterIdentity Constructor Description KeyData(RouterIdentity ri, PrivateKey pk, SigningPrivateKey spk)
-
Uses of RouterIdentity in net.i2p.router.transport
Methods in net.i2p.router.transport with parameters of type RouterIdentity Modifier and Type Method Description void
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
Methods in net.i2p.router.transport.ntcp that return RouterIdentity Modifier and Type Method Description RouterIdentity
NTCPConnection. getRemotePeer()
Valid for outbound; valid for inbound after handshakeMethods in net.i2p.router.transport.ntcp with parameters of type RouterIdentity Modifier and Type Method Description void
NTCPConnection. setRemotePeer(RouterIdentity ident)
Valid for outbound; valid for inbound after handshakeConstructors in net.i2p.router.transport.ntcp with parameters of type RouterIdentity Constructor Description NTCPConnection(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
Methods in net.i2p.router.transport.udp that return RouterIdentity Modifier and Type Method Description RouterIdentity
InboundEstablishState. getConfirmedIdentity()
Who is Alice (null if forged/unknown) Note that this isn't really confirmed - see below.RouterIdentity
OutboundEstablishState. getRemoteIdentity()
Methods in net.i2p.router.transport.udp with parameters of type RouterIdentity Modifier and Type Method Description UDPPacket[]
PacketBuilder. 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(); }Constructors in net.i2p.router.transport.udp with parameters of type RouterIdentity Constructor Description OutboundEstablishState(RouterContext ctx, RemoteHostId claimedAddress, RemoteHostId remoteHostId, RouterIdentity remotePeer, boolean allowExtendedOptions, boolean needIntroduction, SessionKey introKey, UDPAddress addr, DHSessionKeyBuilder.Factory dh)