java.lang.Object
net.i2p.client.impl.HandlerImpl
net.i2p.client.impl.SetDateMessageHandler
All Implemented Interfaces:
I2CPMessageHandler

class SetDateMessageHandlerextends HandlerImpl
Handle I2CP time messages from the router.
  • Constructor Details

    • SetDateMessageHandler

      public SetDateMessageHandler(I2PAppContext ctx)
      Create the handler for I2CP time messages.
      Parameters:
      ctx - the client context whose clock and log manager this handler uses
  • Method Details

    • handleMessage

      public void handleMessage(I2CPMessage message, I2PSessionImpl session)
      Handle an incoming I2CP message.
      Parameters:
      message - the SetDateMessage carrying the router's time and version
      session - the session whose date and capabilities are updated