Package net.i2p.data

Class TunnelId

  • All Implemented Interfaces:
    Serializable, DataStructure

    public class TunnelId
    extends DataStructureImpl
    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.
    Author:
    jrandom
    See Also:
    Serialized Form