Package net.i2p.router.tunnel.pool
Class BuildRequestor
java.lang.Object
net.i2p.router.tunnel.pool.BuildRequestor
Methods for creating Tunnel Build Messages, i.e. requests
-
Field Summary
Modifier and TypeFieldDescription(package private) static final int
At 10 seconds, we were receiving about 20% of replies after expiration Todo: make this variable on a per-request basis, to account for tunnel length, expl. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
request
(RouterContext ctx, PooledTunnelCreatorConfig cfg, BuildExecutor exec) Send out a build request message.
-
Field Details
-
REQUEST_TIMEOUT
static final int REQUEST_TIMEOUTAt 10 seconds, we were receiving about 20% of replies after expiration Todo: make this variable on a per-request basis, to account for tunnel length, expl. vs. client, uptime, and network conditions. Put the expiration in the PTCC. Also, we now save the PTCC even after expiration for an extended time, so can we use a successfully built tunnel anyway.
-
-
Constructor Details
-
BuildRequestor
BuildRequestor()
-
-
Method Details
-
request
Send out a build request message.- Parameters:
cfg
- ReplyMessageId must be set- Returns:
- success
-