java.lang.Object
net.i2p.router.tunnel.pool.BuildHandler.TunnelBuildReplyMessageHandlerJobBuilder
- All Implemented Interfaces:
HandlerJobBuilder
- Enclosing class:
BuildHandler
private class BuildHandler.TunnelBuildReplyMessageHandlerJobBuilderextends Object implements HandlerJobBuilder
Builds the job that handles one inbound build reply.
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBuilds the job that handles a build reply.Method Summary
All MethodsModifier and TypeMethodDescriptioncreateJob(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash) Create a new job to handle the received message.
Constructor Details
TunnelBuildReplyMessageHandlerJobBuilder
private TunnelBuildReplyMessageHandlerJobBuilder()Builds the job that handles a build reply.
Method Details
createJob
Description copied from interface:HandlerJobBuilderCreate a new job to handle the received message.- Specified by:
createJobin interfaceHandlerJobBuilder- Parameters:
receivedMessage- I2NP message receivedfrom- 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)