class TunnelParticipant extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
DEFAULT_BW_PER_TUNNEL_ESTIMATE |
| Constructor and Description |
|---|
TunnelParticipant(RouterContext ctx,
HopConfig config,
HopProcessor processor)
Construct for intermediate tunnel participant (not endpoint).
|
TunnelParticipant(RouterContext ctx,
InboundEndpointProcessor inEndProc)
Construct for inbound tunnel endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(TunnelDataMessage msg,
Hash recvFrom)
Process an incoming tunnel data message.
|
int |
getCompleteCount() |
int |
getFailedCount() |
String |
toString() |
static final int DEFAULT_BW_PER_TUNNEL_ESTIMATE
public TunnelParticipant(RouterContext ctx, HopConfig config, HopProcessor processor)
public TunnelParticipant(RouterContext ctx, InboundEndpointProcessor inEndProc)
public void dispatch(TunnelDataMessage msg, Hash recvFrom)
public int getCompleteCount()
public int getFailedCount()