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