All Implemented Interfaces:
I2CPMessageHandler

class RequestVariableLeaseSetMessageHandlerextends RequestLeaseSetMessageHandler
Handle I2CP RequestVariableLeaseSetMessage from the router by granting all leases, retaining the individual expiration time for each lease.
  • Constructor Details

    • RequestVariableLeaseSetMessageHandler

      public RequestVariableLeaseSetMessageHandler(I2PAppContext context)
      Sets up the handler for the variable-lease-set message type.
      Parameters:
      context - application context shared with the rest of the I2CP handler chain
  • Method Details

    • handleMessage

      protected void handleMessage(I2CPMessage message, I2PSessionImpl session, int attempt)
      Handle an incoming I2CP message, tracking how many prompt re-runs a transient signing failure has already scheduled for this request.
      Overrides:
      handleMessage in class RequestLeaseSetMessageHandler
      Parameters:
      message - the request from the router
      session - the session the request is for
      attempt - number of transient sign retries already performed