## Uses of Class
net.i2p.data.RouterIdentity

- Packages that use RouterIdentity
  Package | Description
  --- | ---
  net.i2p.data | These classes define the common data structures used by the various I2P protocols.
  net.i2p.router | The I2P router application handles the I2P network communication.
  net.i2p.router.message |
  net.i2p.router.networkdb |
  net.i2p.router.networkdb.kademlia |
  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

    Methods in net.i2p.data that return RouterIdentity
    Modifier and Type | Method and Description
    --- | ---
    `RouterIdentity` | RouterInfo.`getIdentity()` Retrieve the identity of the router represented

    Methods in net.i2p.data with parameters of type RouterIdentity
    Modifier and Type | Method and 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 and 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 and Description
    --- | ---
    `Job` | GarlicMessageHandler.`createJob(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash)`

    Constructors in net.i2p.router.message with parameters of type RouterIdentity
    Constructor and Description
    `HandleGarlicMessageJob(RouterContext context, GarlicMessage msg, RouterIdentity from, Hash fromHash)`

  - ### Uses of RouterIdentity in net.i2p.router.networkdb

    Methods in net.i2p.router.networkdb with parameters of type RouterIdentity
    Modifier and Type | Method and Description
    --- | ---
    `Job` | DatabaseStoreMessageHandler.`createJob(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash)`
    `Job` | DatabaseLookupMessageHandler.`createJob(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash)`

    Constructors in net.i2p.router.networkdb with parameters of type RouterIdentity
    Constructor and Description
    `HandleDatabaseLookupMessageJob(RouterContext ctx, DatabaseLookupMessage receivedMessage, RouterIdentity from, Hash fromHash)`
    `HandleDatabaseStoreMessageJob(RouterContext ctx, DatabaseStoreMessage 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 and Description
    --- | ---
    `Job` | FloodfillDatabaseStoreMessageHandler.`createJob(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash)`
    `Job` | FloodfillDatabaseLookupMessageHandler.`createJob(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash)`

    Constructors in net.i2p.router.networkdb.kademlia with parameters of type RouterIdentity
    Constructor and 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.transport

    Methods in net.i2p.router.transport with parameters of type RouterIdentity
    Modifier and Type | Method and Description
    --- | ---
    `void` | TransportEventListener.`messageReceived(I2NPMessage message, RouterIdentity fromRouter, Hash fromRouterHash)`
    `void` | TransportManager.`messageReceived(I2NPMessage message, RouterIdentity fromRouter, Hash fromRouterHash)`
    `void` | TransportImpl.`messageReceived(I2NPMessage inMsg, RouterIdentity remoteIdent, Hash remoteIdentHash, long msToReceive, int bytesReceived)` Message received from the I2NPMessageReader - send it to the listener

  - ### Uses of RouterIdentity in net.i2p.router.transport.ntcp

    Methods in net.i2p.router.transport.ntcp that return RouterIdentity
    Modifier and Type | Method and Description
    --- | ---
    `RouterIdentity` | NTCPConnection.`getRemotePeer()`

    Methods in net.i2p.router.transport.ntcp with parameters of type RouterIdentity
    Modifier and Type | Method and Description
    --- | ---
    `void` | NTCPConnection.`setRemotePeer(RouterIdentity ident)`

    Constructors in net.i2p.router.transport.ntcp with parameters of type RouterIdentity
    Constructor and Description
    `NTCPConnection(RouterContext ctx, NTCPTransport transport, RouterIdentity remotePeer, NTCPAddress remAddr)` 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 and Description
    --- | ---
    `RouterIdentity` | InboundEstablishState.`getConfirmedIdentity()` Who is Alice (null if forged/unknown)
    `RouterIdentity` | OutboundEstablishState.`getRemoteIdentity()`

    Methods in net.i2p.router.transport.udp with parameters of type RouterIdentity
    Modifier and Type | Method and 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 and Description
    `OutboundEstablishState(RouterContext ctx, InetAddress remoteHost, int remotePort, RouterIdentity remotePeer, SessionKey introKey, UDPAddress addr)`