class OutboundMessageDistributor extends Object
| Constructor and Description |
|---|
OutboundMessageDistributor(RouterContext ctx,
int priority)Create a new outbound message distributor. |
OutboundMessageDistributor(RouterContext ctx,
int priority,
SyntheticREDQueue bwe)Create a new outbound message distributor with bandwidth estimation. |
| Modifier and Type | Method and Description |
|---|---|
void | distribute(I2NPMessage msg,
Hash target)Warning - as of 0.9.63, msg will be an UnknownI2NPMessage,
and must be converted before handling locally. |
void | distribute(I2NPMessage msg,
Hash target,
TunnelId tunnel)Warning - as of 0.9.63, msg will be an UnknownI2NPMessage,
and must be converted before handling locally. |
public OutboundMessageDistributor(RouterContext ctx, int priority)
priority - OutNetMessage.PRIORITY_PARTICIPATING for somebody else's OBEP, or
OutNetMessage.PRIORITY_MY_DATA for our own zero-hop OBGW/EPpublic OutboundMessageDistributor(RouterContext ctx, int priority, SyntheticREDQueue bwe)
priority - OutNetMessage.PRIORITY_PARTICIPATING for somebody else's OBEP, or
OutNetMessage.PRIORITY_MY_DATA for our own zero-hop OBGW/EPbwe - null for nonepublic void distribute(I2NPMessage msg, Hash target)
public void distribute(I2NPMessage msg, Hash target, TunnelId tunnel)