abstract class BuildRequestor extends Object
Modifier and Type | Field and Description |
---|---|
(package private) static int |
REQUEST_TIMEOUT
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 and Description |
---|
BuildRequestor() |
Modifier and Type | Method and Description |
---|---|
static boolean |
request(RouterContext ctx,
TunnelPool pool,
PooledTunnelCreatorConfig cfg,
BuildExecutor exec)
Send out a build request message.
|
static final int REQUEST_TIMEOUT
public static boolean request(RouterContext ctx, TunnelPool pool, PooledTunnelCreatorConfig cfg, BuildExecutor exec)
cfg
- ReplyMessageId must be set