Class FloodfillDatabaseStoreMessageHandler

  • All Implemented Interfaces:
    HandlerJobBuilder

    public class FloodfillDatabaseStoreMessageHandler
    extends Object
    implements HandlerJobBuilder
    Create a HandleDatabaseStoreMessageJob whenever a DatabaseStoreMessage arrives
    • Method Detail

      • createJob

        public Job createJob​(I2NPMessage receivedMessage,
                             RouterIdentity from,
                             Hash fromHash)
        Description copied from interface: HandlerJobBuilder
        Create a new job to handle the received message.
        Specified by:
        createJob in interface HandlerJobBuilder
        Parameters:
        receivedMessage - I2NP message received
        from - router that sent the message (if available)
        fromHash - hash of the routerIdentity of the router that sent the message (if available)
        Returns:
        a job or null if no particular job is appropriate (in which case, the message should go into the inbound message pool)