Class SubSession

  • All Implemented Interfaces:
    I2PSession, I2CPMessageReader.I2CPMessageEventListener

    class SubSession
    extends I2PSessionMuxedImpl
    An additional session using another session's connection. A subsession uses the same connection to the router as the primary session, but has a different Destination. It uses the same tunnels as the primary but has its own leaseset. It must use the same encryption keys as the primary so that garlic encryption/decryption works. The message handler map and message producer are reused from primary. Does NOT reuse the session listener ???? While the I2CP protocol, in theory, allows for fully independent sessions over the same I2CP connection, this is not currently supported by the router.
    Since:
    0.9.21