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

class MessageStatusMessageHandlerextends HandlerImpl
Handle I2CP MessageStatusMessages from the router. This currently only takes into account status of available, automatically prefetching them as soon as possible.
  • Constructor Details

    • MessageStatusMessageHandler

      public MessageStatusMessageHandler(I2PAppContext context)
      Create the handler for I2CP message status messages.
      Parameters:
      context - the client context this handler runs in, passed to the superclass for logging
  • Method Details

    • handleMessage

      public void handleMessage(I2CPMessage message, I2PSessionImpl session)
      Handle an incoming I2CP message.
      Parameters:
      message - the inbound MessageStatusMessage to act on, already checked by the superclass to be of the type this handler registered for
      session - the session that received the message, used to send the ReceiveMessageBeginMessage that fetches a newly available message