class InboundMessageDistributor extends Object implements GarlicMessageReceiver.CloveReceiver
Constructor and Description |
---|
InboundMessageDistributor(RouterContext ctx,
Hash client) |
Modifier and Type | Method and Description |
---|---|
void |
distribute(I2NPMessage msg,
Hash target) |
void |
distribute(I2NPMessage msg,
Hash target,
TunnelId tunnel) |
void |
handleClove(DeliveryInstructions instructions,
I2NPMessage data)
Handle a clove removed from the garlic message
|
public InboundMessageDistributor(RouterContext ctx, Hash client)
client
- null for router tunnelpublic void distribute(I2NPMessage msg, Hash target)
public void distribute(I2NPMessage msg, Hash target, TunnelId tunnel)
public void handleClove(DeliveryInstructions instructions, I2NPMessage data)
handleClove
in interface GarlicMessageReceiver.CloveReceiver