public class FloodfillDatabaseStoreMessageHandler extends Object implements HandlerJobBuilder
Creates and dispatches HandleFloodfillDatabaseStoreMessageJob instances to process database store requests received from remote peers. Routes messages to the appropriate network database facade based on the received-by field, supporting both floodfill and client database contexts.
Maintains statistics for store operations including handling counts, processing times, and lease-specific metrics. Provides the entry point for all floodfill database store message processing in the Kademlia network database system.
| Constructor and Description |
|---|
FloodfillDatabaseStoreMessageHandler(RouterContext context,
FloodfillNetworkDatabaseFacade facade) |
| Modifier and Type | Method and Description |
|---|---|
Job |
createJob(I2NPMessage receivedMessage,
RouterIdentity from,
Hash fromHash)
Create a new job to handle the received message.
|
public FloodfillDatabaseStoreMessageHandler(RouterContext context, FloodfillNetworkDatabaseFacade facade)
public Job createJob(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash)
HandlerJobBuildercreateJob in interface HandlerJobBuilderreceivedMessage - I2NP message receivedfrom - router that sent the message (if available)fromHash - hash of the routerIdentity of the router that sent the message (if available)