java.lang.Object
net.i2p.router.tunnel.pool.BuildHandler.TunnelBuildMessageHandlerJobBuilder
- All Implemented Interfaces:
HandlerJobBuilder
- Enclosing class:
BuildHandler
private class BuildHandler.TunnelBuildMessageHandlerJobBuilderextends Object implements HandlerJobBuilder
Handle incoming Tunnel Build Messages, which are generally requests to us, but could also be the reply where we are the IBEP.
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBuilds the job that handles a build request.Method Summary
All MethodsModifier and TypeMethodDescriptioncreateJob(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash) Either from or fromHash may be null, but both should be null only if we're to be a IBGW and it came from us as a OBEP.
Constructor Details
TunnelBuildMessageHandlerJobBuilder
private TunnelBuildMessageHandlerJobBuilder()Builds the job that handles a build request.
Method Details
createJob
Either from or fromHash may be null, but both should be null only if we're to be a IBGW and it came from us as a OBEP.- 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)