class TunnelParticipant extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static int | DEFAULT_BW_PER_TUNNEL_ESTIMATED e f a u l t b w p e r t u n n e l e s t i m a t e |
| 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() |
long | getExpiration() |
int | getFailedCount() |
String | toString()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 long getExpiration()
public int getFailedCount()