Package net.i2p.data

Class TunnelId


  • public class TunnelId
    extends Object
    Defines the tunnel ID that messages are passed through on a set of routers. This is not globally unique, but must be unique on each router making up the tunnel (otherwise they would get confused and send messages down the wrong one). Note that a TunnelId must be greater than zero, as the DatabaseStoreMessage uses a zero ID to request a direct reply. 4 bytes, usually of random data. Not recommended for external use, subject to change. As of 0.9.48, does NOT extend DataStructureImpl, to save space
    Author:
    jrandom