abstract class BuildRequestor extends Object
This class handles:
TunnelBuildMessage, including legacy and
new-style (Short/Variable) formatsPaired tunnels are always used (as of 0.9.50+) to improve client isolation and prevent correlation across tunnel pools.
| 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
Timeout for waiting for a full tunnel build reply.
|
| Constructor and Description |
|---|
BuildRequestor() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
request(RouterContext ctx,
PooledTunnelCreatorConfig cfg,
BuildExecutor exec)
Initiates a tunnel build request.
|
static final String PROP_AVAIL_BW
static final String PROP_MAX_BW
static final String PROP_MIN_BW
static final String PROP_REQ_BW
static final int REQUEST_TIMEOUT
public static boolean request(RouterContext ctx, PooledTunnelCreatorConfig cfg, BuildExecutor exec)
ctx - router contextcfg - tunnel configuration (must have ReplyMessageId set)exec - executor to notify on completiontrue if request was successfully dispatched